Browse Source

Merge pull request #9423 from cakephp/bugfix/typehinting

Use more concrete array typehinting to fix IDEs not finding the metho…
José Lorenzo Rodríguez 9 years ago
parent
commit
9a4258e519
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Controller/Component/AuthComponent.php

+ 2 - 2
src/Controller/Component/AuthComponent.php

@@ -168,14 +168,14 @@ class AuthComponent extends Component
     /**
      * Objects that will be used for authentication checks.
      *
-     * @var array
+     * @var \Cake\Auth\BaseAuthenticate[]
      */
     protected $_authenticateObjects = [];
 
     /**
      * Objects that will be used for authorization checks.
      *
-     * @var array
+     * @var \Cake\Auth\BaseAuthorize[]
      */
     protected $_authorizeObjects = [];