Completed
Push — develop ( b42f4c...d20a7c )
by Vasil
03:07
created
src/PEAR2/Net/RouterOS/Communicator.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * Creates a new connection with the specified options.
118 118
      *
119 119
      * @param string        $host    Hostname (IP or domain) of RouterOS.
120
-     * @param int|null      $port    The port on which the RouterOS host
120
+     * @param integer      $port    The port on which the RouterOS host
121 121
      *     provides the API service. You can also specify NULL, in which case
122 122
      *     the port will automatically be chosen between 8728 and 8729,
123 123
      *     depending on the value of $crypto.
@@ -421,10 +421,8 @@  discard block
 block discarded – undo
421 421
      *
422 422
      * Sends a word and automatically encodes its length when doing so.
423 423
      *
424
-     * @param string|resource $word     The word to send, as a string
424
+     * @param string $word     The word to send, as a string
425 425
      * or seekable stream.
426
-     * @param string|resource $word,... Additional word fragments to be sent
427
-     * as a single word.
428 426
      *
429 427
      * @return int The number of bytes sent.
430 428
      *
@@ -566,7 +564,7 @@  discard block
 block discarded – undo
566 564
      * be locked for receiving until either {@link self::getNextWord()} or
567 565
      * {@link self::getNextWordAsStream()} is called.
568 566
      *
569
-     * @return int|double
567
+     * @return integer
570 568
      */
571 569
     public function getNextWordLength()
572 570
     {
Please login to merge, or discard this patch.
src/PEAR2/Net/RouterOS/Util.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
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.
@@ -831,8 +831,6 @@  discard block
 block discarded – undo
831 831
      *     Flags (properties with a value "true" that is interpreted as
832 832
      *     equivalent of "yes" from CLI) can also be specified with a numeric
833 833
      *     index as the array key, and the name of the flag as the array value.
834
-     * @param array<string,string|resource>|array<int,string> $values,... Additional
835
-     *     items.
836 834
      *
837 835
      * @return string A comma separated list of the new items' IDs.
838 836
      *
Please login to merge, or discard this patch.