Merge pull request #2910 from danielkesselberg/update-phpdoc-permissionmngr

Fix phpdoc for PermissionManager->can
This commit is contained in:
Lucas Bartholemy 2018-01-12 23:56:27 +01:00 committed by GitHub
commit 1dd6c4864e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,10 +44,11 @@ class PermissionManager extends \yii\base\Component
* If $params['strict'] is set to true and a $permission array is given all given permissions
* have to be granted otherwise (default) only one permission test has to pass.
*
* @param string|string[]|BasePermission $permission
* @param string|array|BasePermission $permission
* @param array $params
* @param boolean $allowCaching
* @return boolean
* @throws \yii\base\InvalidConfigException
*/
public function can($permission, $params = [], $allowCaching = true)
{