@@ -61,7 +61,7 @@ discard block |
||
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 |
||
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 |
||
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 | */ |
@@ -261,7 +261,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -104,8 +104,8 @@ |
||
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 |
@@ -117,7 +117,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -186,7 +186,7 @@ |
||
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 | } |
@@ -125,7 +125,7 @@ |
||
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 | */ |
@@ -82,7 +82,6 @@ |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @param array $slots |
|
86 | 85 | * @return array |
87 | 86 | */ |
88 | 87 | public function flattenSlotsByPriority(array $array) { |
@@ -88,8 +88,8 @@ |
||
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 | } |
@@ -50,7 +50,7 @@ |
||
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 | { |
@@ -21,7 +21,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @return void |
35 | 35 | */ |
36 | - public function preProcess(PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row) |
|
36 | + public function preProcess(PageLayoutView&$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row) |
|
37 | 37 | { |
38 | 38 | if (!$this->isAutoloaderContenobject($row)) { |
39 | 39 | return; |