|
@@ -92,7 +92,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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) |
Please login to merge, or discard this patch.