Completed
Push — master ( fbdbe0...f7dc06 )
by Mr
13s queued 11s
created
src/Helpers/BinaryStringHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,14 +43,14 @@
 block discarded – undo
43 43
             if (($value & $mask) || $buffer !== '') {
44 44
                 // Get the current byte by shifting it to least significant position and add it to the string
45 45
                 // 0xFF12345678 => 0xFF
46
-                $byte   = $value >> (8 * $i);
46
+                $byte = $value >> (8 * $i);
47 47
                 $buffer .= chr($byte);
48 48
 
49 49
                 // Set the most significant byte to 0 so we can restart the process being shure
50 50
                 // that the value is left padded with 0
51 51
                 // 0xFF12345678 => 0x12345678
52 52
                 // -1 = 0xFFFFF.... (number of F depend of PHP_INT_SIZE )
53
-                $mask  = -1 >> ((PHP_INT_SIZE - $i) * 8);
53
+                $mask = -1 >> ((PHP_INT_SIZE - $i) * 8);
54 54
                 $value &= $mask;
55 55
             }
56 56
         }
Please login to merge, or discard this patch.
src/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * Get some parameter from config
67 67
      *
68 68
      * @param string $parameter Name of required parameter
69
-     * @return mixed
69
+     * @return integer
70 70
      * @throws \RouterOS\Exceptions\ConfigException
71 71
      */
72 72
     private function config(string $parameter)
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Send write query to RouterOS (with or without tag)
101 101
      *
102
-     * @param string|array|\RouterOS\Query $query
102
+     * @param Query $query
103 103
      * @return \RouterOS\Interfaces\ClientInterface
104 104
      * @throws \RouterOS\Exceptions\QueryException
105 105
      */
Please login to merge, or discard this patch.