@@ -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 | } |
@@ -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; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | $server = new Server(); |
103 | 103 | $server->setClass($this->serverClass); |
104 | 104 | |
105 | - $smd = $server->getServiceMap(); |
|
105 | + $smd = $server->getServiceMap(); |
|
106 | 106 | $smd->setTarget($this->getServiceUri()); |
107 | 107 | $smd->setEnvelope(Smd::ENV_JSONRPC_2); |
108 | 108 |
@@ -52,7 +52,7 @@ |
||
52 | 52 | list($namespace, $method) = self::getNamespaceAndMethod($namespace, $methodRaw); |
53 | 53 | $singleJsonRequest['method'] = $method; |
54 | 54 | |
55 | - $server = new JsonServerService($namespace, (boolean) GeneralUtility::_GP('smd')); |
|
55 | + $server = new JsonServerService($namespace, (boolean)GeneralUtility::_GP('smd')); |
|
56 | 56 | |
57 | 57 | $request = new Request(); |
58 | 58 | $request->setOptions($singleJsonRequest); |