@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * @param string $permission |
| 147 | 147 | * @param string[] $args |
| 148 | 148 | * @throws \Exception |
| 149 | - * @return void |
|
| 149 | + * @return boolean|null |
|
| 150 | 150 | */ |
| 151 | 151 | public function __call(string $permission, array $args) |
| 152 | 152 | { |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | /** |
| 195 | 195 | * Add a new role object to the registry |
| 196 | 196 | * |
| 197 | - * @param string $role |
|
| 197 | + * @param string[] $role |
|
| 198 | 198 | * @return void |
| 199 | 199 | */ |
| 200 | 200 | public function addRole(string ...$role) |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | /** |
| 209 | 209 | * Add a new resource object to the registry |
| 210 | 210 | * |
| 211 | - * @param string $resource |
|
| 211 | + * @param string[] $resource |
|
| 212 | 212 | * @return void |
| 213 | 213 | */ |
| 214 | 214 | public function addResource(string ...$resource) |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | * Automatically determine the type of an object and call the appropriate |
| 240 | 240 | * add method on it. |
| 241 | 241 | * |
| 242 | - * @param ObjectInterface $object |
|
| 242 | + * @param ObjectInterface $objects |
|
| 243 | 243 | * @throws \Exception |
| 244 | 244 | * @return void |
| 245 | 245 | */ |