Completed
Push — master ( 90be80...4028a0 )
by Tim
02:24
created
Classes/Utility/ReflectionUtility.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
         if (self::is9orHigher()) {
45 45
             $reflectionClass = new \ReflectionClass($className);
46 46
 
47
-            return (bool) $reflectionClass->isInstantiable();
47
+            return (bool)$reflectionClass->isInstantiable();
48 48
         }
49 49
 
50
-        return (bool) self::createReflectionClass($className)
50
+        return (bool)self::createReflectionClass($className)
51 51
             ->isInstantiable();
52 52
     }
53 53
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         }
100 100
 
101 101
         if (\is_array($values)) {
102
-            return \trim((string) $values[0]);
102
+            return \trim((string)$values[0]);
103 103
         }
104 104
 
105 105
         return false;
@@ -275,11 +275,11 @@  discard block
 block discarded – undo
275 275
     public static function getDeclaringProperties(string $className)
276 276
     {
277 277
         $classReflection = new \ReflectionClass($className);
278
-        $own = \array_filter($classReflection->getProperties(), function ($property) use ($className) {
278
+        $own = \array_filter($classReflection->getProperties(), function($property) use ($className) {
279 279
             return trim((string)$property->class, '\\') === trim($className, '\\');
280 280
         });
281 281
 
282
-        return \array_map(function ($item) {
282
+        return \array_map(function($item) {
283 283
             return (string)$item->name;
284 284
         }, $own);
285 285
     }
Please login to merge, or discard this patch.