Completed
Branch master (7cb054)
by Tim
30:07
created
Classes/DataSet.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * Get the TCA information of the given data sets
62 62
      *
63 63
      * @param $implementations
64
-     * @param $table
64
+     * @param string $table
65 65
      *
66 66
      * @return array
67 67
      */
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * Get the SQL information of the given data sets
81 81
      *
82 82
      * @param array $implementations
83
-     * @param       $table
83
+     * @param       string $table
84 84
      *
85 85
      * @return array
86 86
      */
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * Get the SQL Key information of the given data sets
100 100
      *
101 101
      * @param $implementations
102
-     * @param $table
102
+     * @param string $table
103 103
      *
104 104
      * @return array
105 105
      */
Please login to merge, or discard this patch.
Classes/Loader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      * Build the loader information
262 262
      *
263 263
      * @param $objects
264
-     * @param $type
264
+     * @param integer $type
265 265
      *
266 266
      * @return array
267 267
      */
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * check if the class is loadable and is instantiable
310 310
      * (exists and is no interface or abstraction etc.)
311 311
      *
312
-     * @param $class
312
+     * @param string $class
313 313
      *
314 314
      * @return bool
315 315
      */
Please login to merge, or discard this patch.
Classes/Loader/Aspect.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,8 +104,8 @@
 block discarded – undo
104 104
      * If the $aspectClassName not available (e.g. Extension is not installed) then
105 105
      * throw a Exception.
106 106
      *
107
-     * @param $aspectClassName
108
-     * @param $aspectJoinPoint
107
+     * @param string $aspectClassName
108
+     * @param string $aspectJoinPoint
109 109
      *
110 110
      * @return array
111 111
      * @throws \HDNET\Autoloader\Exception
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
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Check if the class is tagged with noHeader
119 119
      *
120
-     * @param $class
120
+     * @param string $class
121 121
      *
122 122
      * @return bool
123 123
      */
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     /**
181 181
      * Same as getClassProperties, but the fields are in LowerCaseUnderscored
182 182
      *
183
-     * @param $className
183
+     * @param string $className
184 184
      *
185 185
      * @return array
186 186
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
      */
187 187
     protected function getClassPropertiesInLowerCaseUnderscored($className)
188 188
     {
189
-        return array_map(function ($value) {
189
+        return array_map(function($value) {
190 190
             return GeneralUtility::camelCaseToLowerCaseUnderscored($value);
191 191
         }, ReflectionUtility::getDeclaringProperties($className));
192 192
     }
Please login to merge, or discard this patch.
Classes/Loader/ExtensionTypoScriptSetup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     /**
126 126
      * Get the smart objects for the given extension
127 127
      *
128
-     * @param $extensionKey
128
+     * @param string $extensionKey
129 129
      *
130 130
      * @return mixed
131 131
      */
Please login to merge, or discard this patch.
Classes/Loader/Slots.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,6 @@
 block discarded – undo
82 82
     }
83 83
 
84 84
     /**
85
-     * @param array $slots
86 85
      * @return array
87 86
      */
88 87
     public function flattenSlotsByPriority(array $array) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
     public function flattenSlotsByPriority(array $array) {
89 89
         krsort($array);
90 90
         $result = [];
91
-        foreach($array as $priority => $slots) {
92
-            foreach($slots as $slot) {
91
+        foreach ($array as $priority => $slots) {
92
+            foreach ($slots as $slot) {
93 93
                 $result[] = $slot;
94 94
             }
95 95
         }
Please login to merge, or discard this patch.
Classes/Localization/Writer/PhpWriter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      * @param string $key
51 51
      * @param string $default
52 52
      *
53
-     * @return bool
53
+     * @return boolean|null
54 54
      */
55 55
     public function addLabel($extensionKey, $key, $default)
56 56
     {
Please login to merge, or discard this patch.
Classes/Utility/ExtendedUtility.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @param string $className
23 23
      *
24
-     * @return object
24
+     * @return boolean|string
25 25
      */
26 26
     public static function create($className)
27 27
     {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Get the query for the given class name oder object
38 38
      *
39
-     * @param string|object $objectName
39
+     * @param string $objectName
40 40
      *
41 41
      * @return \TYPO3\CMS\Extbase\Persistence\QueryInterface
42 42
      */
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Log into the TYPO3_CONF_VARS to get more information in the backend
78 78
      *
79
-     * @param $message
79
+     * @param string $message
80 80
      */
81 81
     public static function log($message)
82 82
     {
Please login to merge, or discard this patch.
Resources/Private/Contrib/vendor/composer/ClassLoader.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -341,6 +341,10 @@
 block discarded – undo
341 341
         return $file;
342 342
     }
343 343
 
344
+    /**
345
+     * @param string $class
346
+     * @param string $ext
347
+     */
344 348
     private function findFileWithExtension($class, $ext)
345 349
     {
346 350
         // PSR-4 lookup
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -110,13 +110,13 @@  discard block
 block discarded – undo
110 110
         if (!$prefix) {
111 111
             if ($prepend) {
112 112
                 $this->fallbackDirsPsr0 = array_merge(
113
-                    (array) $paths,
113
+                    (array)$paths,
114 114
                     $this->fallbackDirsPsr0
115 115
                 );
116 116
             } else {
117 117
                 $this->fallbackDirsPsr0 = array_merge(
118 118
                     $this->fallbackDirsPsr0,
119
-                    (array) $paths
119
+                    (array)$paths
120 120
                 );
121 121
             }
122 122
 
@@ -125,19 +125,19 @@  discard block
 block discarded – undo
125 125
 
126 126
         $first = $prefix[0];
127 127
         if (!isset($this->prefixesPsr0[$first][$prefix])) {
128
-            $this->prefixesPsr0[$first][$prefix] = (array) $paths;
128
+            $this->prefixesPsr0[$first][$prefix] = (array)$paths;
129 129
 
130 130
             return;
131 131
         }
132 132
         if ($prepend) {
133 133
             $this->prefixesPsr0[$first][$prefix] = array_merge(
134
-                (array) $paths,
134
+                (array)$paths,
135 135
                 $this->prefixesPsr0[$first][$prefix]
136 136
             );
137 137
         } else {
138 138
             $this->prefixesPsr0[$first][$prefix] = array_merge(
139 139
                 $this->prefixesPsr0[$first][$prefix],
140
-                (array) $paths
140
+                (array)$paths
141 141
             );
142 142
         }
143 143
     }
@@ -158,13 +158,13 @@  discard block
 block discarded – undo
158 158
             // Register directories for the root namespace.
159 159
             if ($prepend) {
160 160
                 $this->fallbackDirsPsr4 = array_merge(
161
-                    (array) $paths,
161
+                    (array)$paths,
162 162
                     $this->fallbackDirsPsr4
163 163
                 );
164 164
             } else {
165 165
                 $this->fallbackDirsPsr4 = array_merge(
166 166
                     $this->fallbackDirsPsr4,
167
-                    (array) $paths
167
+                    (array)$paths
168 168
                 );
169 169
             }
170 170
         } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
@@ -174,18 +174,18 @@  discard block
 block discarded – undo
174 174
                 throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
175 175
             }
176 176
             $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
177
-            $this->prefixDirsPsr4[$prefix] = (array) $paths;
177
+            $this->prefixDirsPsr4[$prefix] = (array)$paths;
178 178
         } elseif ($prepend) {
179 179
             // Prepend directories for an already registered namespace.
180 180
             $this->prefixDirsPsr4[$prefix] = array_merge(
181
-                (array) $paths,
181
+                (array)$paths,
182 182
                 $this->prefixDirsPsr4[$prefix]
183 183
             );
184 184
         } else {
185 185
             // Append directories for an already registered namespace.
186 186
             $this->prefixDirsPsr4[$prefix] = array_merge(
187 187
                 $this->prefixDirsPsr4[$prefix],
188
-                (array) $paths
188
+                (array)$paths
189 189
             );
190 190
         }
191 191
     }
@@ -200,9 +200,9 @@  discard block
 block discarded – undo
200 200
     public function set($prefix, $paths)
201 201
     {
202 202
         if (!$prefix) {
203
-            $this->fallbackDirsPsr0 = (array) $paths;
203
+            $this->fallbackDirsPsr0 = (array)$paths;
204 204
         } else {
205
-            $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
205
+            $this->prefixesPsr0[$prefix[0]][$prefix] = (array)$paths;
206 206
         }
207 207
     }
208 208
 
@@ -218,14 +218,14 @@  discard block
 block discarded – undo
218 218
     public function setPsr4($prefix, $paths)
219 219
     {
220 220
         if (!$prefix) {
221
-            $this->fallbackDirsPsr4 = (array) $paths;
221
+            $this->fallbackDirsPsr4 = (array)$paths;
222 222
         } else {
223 223
             $length = strlen($prefix);
224 224
             if ('\\' !== $prefix[$length - 1]) {
225 225
                 throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
226 226
             }
227 227
             $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
228
-            $this->prefixDirsPsr4[$prefix] = (array) $paths;
228
+            $this->prefixDirsPsr4[$prefix] = (array)$paths;
229 229
         }
230 230
     }
231 231
 
Please login to merge, or discard this patch.