Skip to content

Commit

Permalink
Use more concrete array typehinting to fix IDEs not finding the metho…
Browse files Browse the repository at this point in the history
…ds used on the stack of objects
  • Loading branch information
dereuromark committed Sep 7, 2016
1 parent 4f2499d commit 7f28625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller/Component/AuthComponent.php
Expand Up @@ -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 = [];

Expand Down

0 comments on commit 7f28625

Please sign in to comment.