Completed
Push — master ( 62094a...3b7a24 )
by Joe
02:06
created
src/WmiScripting/Testing/Wmi/ModelProperties.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.