Completed
Pull Request — master (#46)
by
unknown
25:26
created
src/Client.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Client constructor.
55 55
      *
56
-     * @param array|\RouterOS\Interfaces\ConfigInterface $config      Array with configuration or Config object
56
+     * @param Interfaces\ConfigInterface $config      Array with configuration or Config object
57 57
      * @param bool                                       $autoConnect If false it will skip auto-connect stage if not need to instantiate connection
58 58
      *
59 59
      * @throws \RouterOS\Exceptions\ClientException
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      * @param string     $value    Value which should be parsed
401 401
      * @param array      $result   Array with parsed response
402 402
      * @param array|null $matches  Matched words
403
-     * @param string|int $iterator Type of iterations or number of item
403
+     * @param integer $iterator Type of iterations or number of item
404 404
      */
405 405
     private function preParseResponse(string $value, array &$result, ?array &$matches, $iterator = 'after'): void
406 406
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
             $word = $this->connector->readWord();
250 250
 
251 251
             //Limit response number to finish the read
252
-            if (isset($options['count']) && $countResponse >= (int)$options['count']) {
252
+            if (isset($options['count']) && $countResponse >= (int) $options['count']) {
253 253
                 $lastReply = true;
254 254
             }
255 255
 
Please login to merge, or discard this patch.