Completed
Push — master ( af7982...62094a )
by Joe
02:59
created
src/WmiScripting/Testing/Wmi/Win32ModelFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         while ($count) {
36 36
             $modelFakes->add(new ModelFake([
37 37
                 'properties'  => $factory->fillAttributes(new ModelProperties($class_name)),
38
-                'derivations' => array_filter(class_parents($class_name), function ($parent) {
38
+                'derivations' => array_filter(class_parents($class_name), function($parent) {
39 39
                     return $parent !== Win32Model::class;
40 40
                 }),
41 41
                 'qualifiers' => new ArrayCollection([
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     protected function fillAttributes(ModelProperties $details)
77 77
     {
78
-        return $details->getProperties()->map(function ($property) {
78
+        return $details->getProperties()->map(function($property) {
79 79
             $value = null;
80 80
 
81 81
             if (is_array($property['value']) && empty($property['value'])) {
Please login to merge, or discard this patch.
src/WmiScripting/Win32Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.