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