mirror of
https://github.com/humhub/humhub.git
synced 2025-02-24 11:14:00 +01:00
Merge pull request #2910 from danielkesselberg/update-phpdoc-permissionmngr
Fix phpdoc for PermissionManager->can
This commit is contained in:
commit
1dd6c4864e
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user