Completed
Push — master ( 05a043...a79f71 )
by Tim
15:11
created
Classes/Loader/ContentObjects.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     /**
290 290
      * Check if the class is tagged with noHeader.
291 291
      *
292
-     * @param $class
292
+     * @param string $class
293 293
      */
294 294
     protected function isTaggedWithNoHeader($class): bool
295 295
     {
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
     /**
353 353
      * Same as getClassProperties, but the fields are in LowerCaseUnderscored.
354 354
      *
355
-     * @param $className
355
+     * @param string $className
356 356
      *
357 357
      * @return array
358 358
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Loading Slots.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Loader;
9 9
 
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
         $nameMapperService = GeneralUtility::makeInstance(NameMapperService::class);
362 362
         $tableName = ModelUtility::getTableName($className);
363 363
 
364
-        return array_map(function ($value) use ($nameMapperService, $tableName) {
364
+        return array_map(function($value) use ($nameMapperService, $tableName) {
365 365
             return $nameMapperService->getDatabaseFieldName($tableName, $value);
366 366
         }, ReflectionUtility::getDeclaringProperties($className));
367 367
     }
Please login to merge, or discard this patch.
Classes/Utility/ReflectionUtility.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * Get first class tag information.
75 75
      * The trimmed value if the tag exists and FALSE if the tag do not exists.
76 76
      *
77
-     * @return string|bool
77
+     * @return false|string
78 78
      */
79 79
     public static function getFirstTagValue(string $className, string $tag)
80 80
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Reflection helper.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Utility;
9 9
 
@@ -250,11 +250,11 @@  discard block
 block discarded – undo
250 250
     public static function getDeclaringProperties(string $className)
251 251
     {
252 252
         $classReflection = new \ReflectionClass($className);
253
-        $own = array_filter($classReflection->getProperties(), function ($property) use ($className) {
253
+        $own = array_filter($classReflection->getProperties(), function($property) use ($className) {
254 254
             return trim((string)$property->class, '\\') === trim($className, '\\');
255 255
         });
256 256
 
257
-        return array_map(function ($item) {
257
+        return array_map(function($item) {
258 258
             return (string)$item->name;
259 259
         }, $own);
260 260
     }
Please login to merge, or discard this patch.
Classes/Utility/ModelUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Utility to interact with the Model.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Utility;
9 9
 
Please login to merge, or discard this patch.
Classes/Loader/Slots.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Loading Slots.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Loader;
9 9
 
Please login to merge, or discard this patch.
Classes/Loader/Plugins.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Loading Plugins.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Loader;
9 9
 
Please login to merge, or discard this patch.
Classes/Loader/Hooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Loading Hooks.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Loader;
9 9
 
Please login to merge, or discard this patch.
Classes/Loader/ExtensionTypoScriptSetup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * ExtensionTypoScriptSetup.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Loader;
9 9
 
Please login to merge, or discard this patch.
Classes/Slots/SmartDatabase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Add the smart object SQL string.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Slots;
9 9
 
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
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Management for Smart Objects.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader;
9 9
 
Please login to merge, or discard this patch.