@@ -235,7 +235,7 @@ |
||
| 235 | 235 | */ |
| 236 | 236 | protected function constantToStringCallback($constant_class) |
| 237 | 237 | { |
| 238 | - return function ($constant) use ($constant_class) { |
|
| 238 | + return function($constant) use ($constant_class) { |
|
| 239 | 239 | if (trim($type = call_user_func_array($constant_class . '::string', [$constant])) === '') { |
| 240 | 240 | return "[{$constant}] - UNKNOWN"; |
| 241 | 241 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | $reflectionClass = new ReflectionClass($class = new $this->class_name()); |
| 39 | 39 | |
| 40 | 40 | $this->properties = (new ArrayCollection($reflectionClass->getProperties()))->mapWithKeys( |
| 41 | - function (ReflectionProperty $property) use ($class, $reflectionClass) { |
|
| 41 | + function(ReflectionProperty $property) use ($class, $reflectionClass) { |
|
| 42 | 42 | return [$property->name => [ |
| 43 | 43 | 'name' => $property->name, |
| 44 | 44 | 'origin' => $this->getPropertyOrigin($property, $reflectionClass)->getName(), |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | 'value' => $class->getAttribute($property->name), |
| 48 | 48 | ]]; |
| 49 | 49 | } |
| 50 | - )->diffKeys($class->getHidden())->filter(function ($property) { |
|
| 50 | + )->diffKeys($class->getHidden())->filter(function($property) { |
|
| 51 | 51 | return $property['origin'] !== Win32Model::class; |
| 52 | 52 | }); |
| 53 | 53 | } |