@@ -191,7 +191,7 @@ |
||
191 | 191 | } |
192 | 192 | |
193 | 193 | /** |
194 | - * @param $kernel |
|
194 | + * @param AppKernel $kernel |
|
195 | 195 | */ |
196 | 196 | public static function setKernel($kernel) |
197 | 197 | { |
@@ -354,7 +354,7 @@ |
||
354 | 354 | * |
355 | 355 | * @param int $playerID The ID of the victim of the ban |
356 | 356 | * @param int $authorID The ID of the player responsible for the ban |
357 | - * @param mixed|null $expiration The expiration of the ban (set to NULL so that it never expires) |
|
357 | + * @param TimeDate|null $expiration The expiration of the ban (set to NULL so that it never expires) |
|
358 | 358 | * @param string $reason The full reason for the ban |
359 | 359 | * @param string $srvmsg A summary of the ban to be displayed on server banlists (max 150 characters) |
360 | 360 | * @param string[] $ipAddresses An array of IPs that have been banned |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | /** |
212 | 212 | * Add a permission to a role |
213 | 213 | * |
214 | - * @param string|Permission $perm_name The name of the permission to add |
|
214 | + * @param Permission $perm_name The name of the permission to add |
|
215 | 215 | * |
216 | 216 | * @return bool Whether or not the operation was successful |
217 | 217 | */ |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | /** |
266 | 266 | * Revoke a permission from a role |
267 | 267 | * |
268 | - * @param string|Permission $perm_name The permission to remove |
|
268 | + * @param Permission $perm_name The permission to remove |
|
269 | 269 | * |
270 | 270 | * @return bool Whether or not the operation was successful |
271 | 271 | */ |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace BZIon\Composer; |
10 | 10 | |
11 | 11 | use BZIon\Config\Configuration; |
12 | -use Composer\Script\Event; |
|
13 | 12 | use Symfony\Component\Config\Definition\ArrayNode; |
14 | 13 | use Symfony\Component\Config\Definition\EnumNode; |
15 | 14 | use Symfony\Component\Config\Definition\NodeInterface; |