@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | * @param string $host Hostname (IP or domain) of the RouterOS server. |
| 109 | 109 | * @param string $username The RouterOS username. |
| 110 | 110 | * @param string $password The RouterOS password. |
| 111 | - * @param int|null $port The port on which the RouterOS server provides |
|
| 111 | + * @param integer $port The port on which the RouterOS server provides |
|
| 112 | 112 | * the API service. You can also specify NULL, in which case the port |
| 113 | 113 | * will automatically be chosen between 8728 and 8729, depending on the |
| 114 | 114 | * value of $crypto. |
@@ -799,7 +799,7 @@ discard block |
||
| 799 | 799 | * Dispatches the next response in queue, i.e. it executes the associated |
| 800 | 800 | * callback if there is one, or places the response in the response buffer. |
| 801 | 801 | * |
| 802 | - * @param int|null $sTimeout If a response is not immediately available, |
|
| 802 | + * @param integer $sTimeout If a response is not immediately available, |
|
| 803 | 803 | * wait this many seconds. |
| 804 | 804 | * If NULL, wait indefinitely. |
| 805 | 805 | * @param int $usTimeout Microseconds to add to the waiting time. |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | * Creates a new connection with the specified options. |
| 93 | 93 | * |
| 94 | 94 | * @param string $host Hostname (IP or domain) of the RouterOS server. |
| 95 | - * @param int|null $port The port on which the RouterOS server provides |
|
| 95 | + * @param integer $port The port on which the RouterOS server provides |
|
| 96 | 96 | * the API service. You can also specify NULL, in which case the port |
| 97 | 97 | * will automatically be chosen between 8728 and 8729, depending on the |
| 98 | 98 | * value of $crypto. |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | * Creates a new query with an initial condition. |
| 111 | 111 | * |
| 112 | 112 | * @param string $name The name of the property to test. |
| 113 | - * @param string|resource|null $value Value of the property as a string |
|
| 113 | + * @param string $value Value of the property as a string |
|
| 114 | 114 | * or seekable stream. Not required for existence tests. |
| 115 | 115 | * If a seekable stream is provided, it is sent from its current |
| 116 | 116 | * position to its end, and the pointer is seeked back to its current |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * Adds a condition as an alternative to the query. |
| 147 | 147 | * |
| 148 | 148 | * @param string $name The name of the property to test. |
| 149 | - * @param string|resource|null $value Value of the property as a string |
|
| 149 | + * @param string $value Value of the property as a string |
|
| 150 | 150 | * or seekable stream. Not required for existence tests. |
| 151 | 151 | * If a seekable stream is provided, it is sent from its current |
| 152 | 152 | * position to its end, and the pointer is seeked back to its current |
@@ -968,8 +968,6 @@ |
||
| 968 | 968 | * Flags (properties with a value "true" that is interpreted as |
| 969 | 969 | * equivalent of "yes" from CLI) can also be specified with a numeric |
| 970 | 970 | * index as the array key, and the name of the flag as the array value. |
| 971 | - * @param array<string,string|resource>|array<int,string> $... Additional |
|
| 972 | - * items. |
|
| 973 | 971 | * |
| 974 | 972 | * @return string A comma separated list of the new items' IDs. If a |
| 975 | 973 | * particular item was not added, this will be indicated by an empty |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * @param int $code The Exception code. |
| 50 | 50 | * @param \Exception $previous The previous exception used for the exception |
| 51 | 51 | * chaining. |
| 52 | - * @param mixed $value The unexpected value. |
|
| 52 | + * @param string $value The unexpected value. |
|
| 53 | 53 | */ |
| 54 | 54 | public function __construct( |
| 55 | 55 | $message, |