Passed
Pull Request — master (#5)
by Christopher
02:42
created
src/BitMask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public function __call($name, $arguments)
35 35
     {
36 36
         $array = static::toArray();
37
-        $sub   =  array_reduce(['is','set'], function ($carry, $item) use ($name) {
37
+        $sub   = array_reduce(['is', 'set'], function($carry, $item) use ($name) {
38 38
             return substr($name, 0, strlen($item)) === $item ? strlen($item) : $carry;
39 39
         }, false);
40 40
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     public function getKey()
83 83
     {
84 84
         $value = $this->value;
85
-        $f     = array_filter(static::toArray(), function () use (&$value) {
85
+        $f     = array_filter(static::toArray(), function() use (&$value) {
86 86
             $isSet = $value & 1;
87 87
             $value = $value >> 1;
88 88
             return $isSet;
Please login to merge, or discard this patch.