Completed
Push — master ( 2b79fa...cdd6a9 )
by Tim
02:06
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/ViewHelpers/Be/EditLinkViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,6 +80,6 @@
 block discarded – undo
80 80
             $uri = BackendUtility::getModuleUrl('record_edit', $urlParameters);
81 81
         }
82 82
 
83
-        return (string) $uri;
83
+        return (string)$uri;
84 84
     }
85 85
 }
Please login to merge, or discard this patch.
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.
Classes/Service/SmartObjectInformationService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -204,9 +204,9 @@  discard block
 block discarded – undo
204 204
      */
205 205
     protected function useTableNameFileBase()
206 206
     {
207
-        $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
207
+        $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
208 208
 
209
-        return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false;
209
+        return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false;
210 210
     }
211 211
 
212 212
     /**
@@ -277,8 +277,8 @@  discard block
 block discarded – undo
277 277
             $fields[] = [
278 278
                 'property' => $propertyName,
279 279
                 'name' => $nameMapperService->getDatabaseFieldName($tableName, $propertyName),
280
-                'db' => \trim((string) $configuration['db']),
281
-                'var' => \trim((string) $var),
280
+                'db' => \trim((string)$configuration['db']),
281
+                'var' => \trim((string)$var),
282 282
                 'rte' => $configuration[$enableRichText] === '',
283 283
             ];
284 284
         }
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
         $reflectionConfiguration = ReflectionUtility::getTagConfigurationForClass($modelClassName, ['key']);
343 343
         if (!empty($reflectionConfiguration['key'])) {
344 344
             $additionalKeys = $reflectionConfiguration['key'];
345
-            \array_walk($additionalKeys, function (&$item) {
345
+            \array_walk($additionalKeys, function(&$item) {
346 346
                 $item = 'KEY ' . $item;
347 347
             });
348 348
             $fields = \array_merge($fields, $additionalKeys);
Please login to merge, or discard this patch.