@@ -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 | { |
@@ -371,7 +371,7 @@ |
||
371 | 371 | |
372 | 372 | /** |
373 | 373 | * Get all of the callsigns a player has used to log in to the website |
374 | - * @return string[] An array containing all of the past callsigns recorded for a player |
|
374 | + * @return integer[] An array containing all of the past callsigns recorded for a player |
|
375 | 375 | */ |
376 | 376 | public function getPastCallsigns() |
377 | 377 | { |
@@ -296,7 +296,7 @@ |
||
296 | 296 | * |
297 | 297 | * Prevents PDO from being erroneously serialized |
298 | 298 | * |
299 | - * @return array The list of properties that should be serialized |
|
299 | + * @return string[] The list of properties that should be serialized |
|
300 | 300 | */ |
301 | 301 | public function __sleep() |
302 | 302 | { |
@@ -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 | */ |