@@ -47,7 +47,7 @@ |
||
| 47 | 47 | /** |
| 48 | 48 | * Validates a given port. A port is valid if it is either null or an integer between 1 and 65535 inclusive. |
| 49 | 49 | * |
| 50 | - * @param mixed $port The port to be validated |
|
| 50 | + * @param integer|null $port The port to be validated |
|
| 51 | 51 | * @return bool Returns true if the given port is valid |
| 52 | 52 | * Returns false otherwise |
| 53 | 53 | */ |