Completed
Push — master ( 25d723...d82c34 )
by Tim
26:08 queued 11:07
created
Classes/Service/SmartObjectInformationService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -205,9 +205,9 @@  discard block
 block discarded – undo
205 205
      */
206 206
     protected function useTableNameFileBase()
207 207
     {
208
-        $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
208
+        $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
209 209
 
210
-        return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false;
210
+        return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false;
211 211
     }
212 212
 
213 213
     /**
@@ -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' => ReflectionUtility::isPropertyTaggedWith($modelClassName, $propertyName, '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.
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.
Classes/SmartObjectManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,8 @@
 block discarded – undo
130 130
      */
131 131
     protected static function getSmartObjectClassLoadingIgnorePattern()
132 132
     {
133
-        $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
133
+        $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
134 134
 
135
-        return isset($configuration['smartObjectClassLoadingIgnorePattern']) ? (string) $configuration['smartObjectClassLoadingIgnorePattern'] : '';
135
+        return isset($configuration['smartObjectClassLoadingIgnorePattern']) ? (string)$configuration['smartObjectClassLoadingIgnorePattern'] : '';
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
Classes/DataSet.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Get the TCA information of the given data sets.
58 58
      *
59 59
      * @param $implementations
60
-     * @param $table
60
+     * @param string $table
61 61
      *
62 62
      * @return array
63 63
      */
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * Get the SQL information of the given data sets.
79 79
      *
80
-     * @param $table
80
+     * @param string $table
81 81
      *
82 82
      * @return array
83 83
      */
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * Get the SQL Key information of the given data sets.
98 98
      *
99 99
      * @param $implementations
100
-     * @param $table
100
+     * @param string $table
101 101
      *
102 102
      * @return array
103 103
      */
Please login to merge, or discard this patch.