@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public function __call($name, $arguments) |
| 33 | 33 | { |
| 34 | 34 | $array = static::toArray(); |
| 35 | - $sub = array_reduce(['is','set'], function ($carry, $item) use ($name) { |
|
| 35 | + $sub = array_reduce(['is', 'set'], function($carry, $item) use ($name) { |
|
| 36 | 36 | return substr($name, 0, strlen($item)) === $item ? strlen($item) : $carry; |
| 37 | 37 | }, false); |
| 38 | 38 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | public function getKey() |
| 81 | 81 | { |
| 82 | 82 | $value = $this->value; |
| 83 | - $f = array_filter(static::toArray(), function ( |
|
| 83 | + $f = array_filter(static::toArray(), function( |
|
| 84 | 84 | /* @noinspection PhpUnusedParameterInspection needed for function def */ $key) use (&$value) { |
| 85 | 85 | $isSet = $value & 1; |
| 86 | 86 | $value = $value >> 1; |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | return $name . '[' . PHP_EOL . |
| 106 | 106 | $ret . |
| 107 | - ']'. PHP_EOL; |
|
| 107 | + ']' . PHP_EOL; |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | public function getName() |