Browse Source

update deprecated phpdoc messages

tags/2.0.11
Carsten Brandt 8 years ago
parent
commit
b8b3aeeb00
  1. 2
      framework/base/Security.php
  2. 2
      framework/validators/UniqueValidator.php
  3. 2
      framework/web/User.php

2
framework/base/Security.php

@ -79,7 +79,7 @@ class Security extends Component
* - 'password_hash' - use of PHP `password_hash()` function with PASSWORD_DEFAULT algorithm.
* This option is recommended, but it requires PHP version >= 5.5.0
* - 'crypt' - use PHP `crypt()` function.
* @deprecated Since version 2.0.7, [[generatePasswordHash()]] ignores [[passwordHashStrategy]] and
* @deprecated since version 2.0.7, [[generatePasswordHash()]] ignores [[passwordHashStrategy]] and
* uses `password_hash()` when available or `crypt()` when not.
*/
public $passwordHashStrategy;

2
framework/validators/UniqueValidator.php

@ -76,7 +76,7 @@ class UniqueValidator extends Validator
/**
* @var string
* @since 2.0.9
* @deprecated Deprecated since version 2.0.10, to be removed in 2.1. Use [[message]] property
* @deprecated since version 2.0.10, to be removed in 2.1. Use [[message]] property
* to setup custom message for multiple target attributes.
*/
public $comboNotUnique;

2
framework/web/User.php

@ -742,7 +742,7 @@ class User extends Component
* You may override this method to return a different auth manager instance if needed.
* @return \yii\rbac\ManagerInterface
* @since 2.0.6
* @deprecated Deprecated since version 2.0.9, to be removed in 2.1. Use `getAccessChecker()` instead.
* @deprecated since version 2.0.9, to be removed in 2.1. Use [[getAccessChecker()]] instead.
*/
protected function getAuthManager()
{

Loading…
Cancel
Save