@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * @param string $host Hostname (IP or domain) of RouterOS. |
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 host |
|
111 | + * @param integer $port The port on which the RouterOS host |
|
112 | 112 | * provides the API service. You can also specify NULL, in which case |
113 | 113 | * the port will automatically be chosen between 8728 and 8729, |
114 | 114 | * depending on the value of $crypto. |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | * Dispatches the next response in queue, i.e. it executes the associated |
802 | 802 | * callback if there is one, or places the response in the response buffer. |
803 | 803 | * |
804 | - * @param int|null $sTimeout If a response is not immediately available, |
|
804 | + * @param integer $sTimeout If a response is not immediately available, |
|
805 | 805 | * wait this many seconds. |
806 | 806 | * If NULL, wait indefinitely. |
807 | 807 | * @param int $usTimeout Microseconds to add to the waiting time. |
@@ -110,7 +110,7 @@ |
||
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 |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * Creates a new connection with the specified options. |
93 | 93 | * |
94 | 94 | * @param string $host Hostname (IP or domain) of RouterOS. |
95 | - * @param int|null $port The port on which the RouterOS host |
|
95 | + * @param integer $port The port on which the RouterOS host |
|
96 | 96 | * provides the API service. You can also specify NULL, in which case |
97 | 97 | * the port will automatically be chosen between 8728 and 8729, |
98 | 98 | * depending on the value of $crypto. |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | * @param T\Stream $trans The transmitter from which to decode the length of |
625 | 625 | * the incoming message. |
626 | 626 | * |
627 | - * @return int|double The decoded length. |
|
627 | + * @return integer The decoded length. |
|
628 | 628 | * Is of type "double" only for values above "2 << 31". |
629 | 629 | */ |
630 | 630 | public static function decodeLength(T\Stream $trans) |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | * variables pre declared. This is achieved by prepending 1+count($params) |
217 | 217 | * lines before your actual script. |
218 | 218 | * |
219 | - * @param string|resource $source The source of the script, |
|
219 | + * @param string $source The source of the script, |
|
220 | 220 | * as a string or stream. If a stream is provided, reading starts from |
221 | 221 | * the current position to the end of the stream, and the pointer stays |
222 | 222 | * at the end after reading is done. |
@@ -819,8 +819,6 @@ discard block |
||
819 | 819 | * Flags (properties with a value "true" that is interpreted as |
820 | 820 | * equivalent of "yes" from CLI) can also be specified with a numeric |
821 | 821 | * index as the array key, and the name of the flag as the array value. |
822 | - * @param array<string,string|resource>|array<int,string> $... Additional |
|
823 | - * items. |
|
824 | 822 | * |
825 | 823 | * @return string A comma separated list of the new items' IDs. |
826 | 824 | * |