Completed
Push — master ( 6f6c2f...93dd0d )
by Tim
02:28
created
Classes/Loader/Hooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             foreach (ReflectionUtility::getPublicMethodNames($hookClass) as $methodName) {
61 61
                 $tagConfiguration = ReflectionUtility::getTagConfigurationForMethod($hookClass, $methodName, ['hook']);
62 62
                 if (\count($tagConfiguration['hook']) > 0) {
63
-                    $hookLocations = \array_map(function ($hook) {
63
+                    $hookLocations = \array_map(function($hook) {
64 64
                         return \trim($hook, " \t\n\r\0\x0B|");
65 65
                     }, $tagConfiguration['hook']);
66 66
 
Please login to merge, or discard this patch.
Classes/SmartObjectManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             $return = false;
61 61
         } else {
62 62
             $classReflection = ReflectionUtility::createReflectionClass($className);
63
-            $return = !(bool) (!ReflectionUtility::isInstantiable($className) || !$classReflection->isTaggedWith('db'));
63
+            $return = !(bool)(!ReflectionUtility::isInstantiable($className) || !$classReflection->isTaggedWith('db'));
64 64
         }
65 65
 
66 66
         // if ($registerAutoLoader) {
Please login to merge, or discard this patch.
Classes/Utility/ReflectionUtility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public static function isInstantiable($className):bool
44 44
     {
45
-        if(self::is9orHigher()) {
45
+        if (self::is9orHigher()) {
46 46
             $reflectionClass = new \ReflectionClass($className);
47 47
             return (bool)$reflectionClass->isInstantiable();
48 48
         }
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         }
140 140
         $values = $classReflection->getTagValues($tag);
141 141
         if (\is_array($values)) {
142
-            return \trim((string) $values[0]);
142
+            return \trim((string)$values[0]);
143 143
         }
144 144
 
145 145
         return false;
Please login to merge, or discard this patch.