Completed
Push — master ( d5077a...5aa551 )
by Tim
05:30 queued 03:18
created
Classes/Utility/ReflectionUtility.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         $reflectionClass = new \ReflectionClass($className);
46 46
 
47
-        return (bool) $reflectionClass->isInstantiable();
47
+        return (bool)$reflectionClass->isInstantiable();
48 48
     }
49 49
 
50 50
     /**
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         }
94 94
 
95 95
         if (\is_array($values)) {
96
-            return \trim((string) $values[0]);
96
+            return \trim((string)$values[0]);
97 97
         }
98 98
 
99 99
         return false;
@@ -272,12 +272,12 @@  discard block
 block discarded – undo
272 272
     public static function getDeclaringProperties(string $className)
273 273
     {
274 274
         $classReflection = new \ReflectionClass($className);
275
-        $own = \array_filter($classReflection->getProperties(), function ($property) use ($className) {
276
-            return \trim((string) $property->class, '\\') === \trim($className, '\\');
275
+        $own = \array_filter($classReflection->getProperties(), function($property) use ($className) {
276
+            return \trim((string)$property->class, '\\') === \trim($className, '\\');
277 277
         });
278 278
 
279
-        return \array_map(function ($item) {
280
-            return (string) $item->name;
279
+        return \array_map(function($item) {
280
+            return (string)$item->name;
281 281
         }, $own);
282 282
     }
283 283
 
Please login to merge, or discard this patch.