Completed
Push — master ( 05a043...a79f71 )
by Tim
15:11
created
Classes/Utility/TranslateUtility.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      * Get the correct LLL string for the given key and extension.
79 79
      *
80 80
      * @param string $key
81
-     * @param        $extensionKey
81
+     * @param        string $extensionKey
82 82
      * @param string $file
83 83
      * @param string $tableName
84 84
      *
Please login to merge, or discard this 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
  * TranslateUtility.
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/DataSet.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Central DataSet object.
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.
Classes/Cache/AutoloaderFileBackend.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
         return null;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $entryIdentifier
81
+     */
79 82
     protected function getCacheFileName($entryIdentifier): string
80 83
     {
81 84
         return Environment::getVarPath() . '/autoloader_' . $entryIdentifier . '.php';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace HDNET\Autoloader\Cache;
6 6
 
Please login to merge, or discard this patch.
Classes/Loader.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * check if the class is loadable and is instantiable
157 157
      * (exists and is no interface or abstraction etc.).
158 158
      *
159
-     * @param $class
159
+     * @param string $class
160 160
      *
161 161
      * @return bool
162 162
      */
@@ -240,9 +240,9 @@  discard block
 block discarded – undo
240 240
      * Build the loader information.
241 241
      *
242 242
      * @param $objects
243
-     * @param $type
243
+     * @param integer $type
244 244
      *
245
-     * @return array
245
+     * @return string
246 246
      */
247 247
     protected function buildLoaderInformation($objects, $type)
248 248
     {
Please login to merge, or discard this 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
  * Central Loader object.
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.
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/ExtendedUtility.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Get the query for the given class name oder object.
42 42
      *
43
-     * @param string|object $objectName
43
+     * @param string $objectName
44 44
      *
45 45
      * @return \TYPO3\CMS\Extbase\Persistence\QueryInterface
46 46
      */
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Log into the TYPO3_CONF_VARS to get more information in the backend.
85 85
      *
86
-     * @param $message
86
+     * @param string $message
87 87
      */
88 88
     public static function log($message): void
89 89
     {
Please login to merge, or discard this 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 functions for the Autoloader.
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/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/Localization/Writer/XmlWriter.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
  * XML writer.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Localization\Writer;
9 9
 
Please login to merge, or discard this patch.
Classes/Localization/Writer/AbstractLocalizationWriter.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
  * Abstraction of the Writer.
5 5
  */
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace HDNET\Autoloader\Localization\Writer;
9 9
 
Please login to merge, or discard this patch.