@@ -51,7 +51,7 @@ |
||
| 51 | 51 | $this->serverClass = $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['Json'][$server]; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - $this->renderSmd = (bool) $smd; |
|
| 54 | + $this->renderSmd = (bool)$smd; |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | if (isset($GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['Soap'][$server])) { |
| 48 | 48 | $this->serverClass = $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['Soap'][$server]; |
| 49 | 49 | } |
| 50 | - $this->renderWsdl = (bool) $wsdl; |
|
| 50 | + $this->renderWsdl = (bool)$wsdl; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | protected function getServiceUri() |
| 120 | 120 | { |
| 121 | 121 | $uri = GeneralUtility::getIndpEnv('TYPO3_REQUEST_URL'); |
| 122 | - $parts = (array) parse_url($uri); |
|
| 122 | + $parts = (array)parse_url($uri); |
|
| 123 | 123 | $parts['query'] = 'eID=SoapServer&server=' . $this->serverKey; |
| 124 | 124 | |
| 125 | 125 | return HttpUtility::buildUrl($parts); |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | 'name' => GeneralUtility::camelCaseToLowerCaseUnderscored($property->getName()), |
| 256 | 256 | 'db' => trim($dbInformation[0]), |
| 257 | 257 | 'var' => trim($var), |
| 258 | - 'rte' => (bool) $property->isTaggedWith('enableRichText'), |
|
| 258 | + 'rte' => (bool)$property->isTaggedWith('enableRichText'), |
|
| 259 | 259 | ]; |
| 260 | 260 | } |
| 261 | 261 | |
@@ -318,7 +318,7 @@ discard block |
||
| 318 | 318 | $classReflection = ReflectionUtility::createReflectionClass($modelClassName); |
| 319 | 319 | if ($classReflection->isTaggedWith('key')) { |
| 320 | 320 | $additionalKeys = $classReflection->getTagValues('key'); |
| 321 | - array_walk($additionalKeys, function (&$item) { |
|
| 321 | + array_walk($additionalKeys, function(&$item) { |
|
| 322 | 322 | $item = 'KEY ' . $item; |
| 323 | 323 | }); |
| 324 | 324 | $fields = array_merge($fields, $additionalKeys); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | /** @var $methodReflection \TYPO3\CMS\Extbase\Reflection\MethodReflection */ |
| 61 | 61 | $tagConfiguration = ReflectionUtility::getTagConfiguration($methodReflection, ['hook']); |
| 62 | 62 | if (count($tagConfiguration['hook']) > 0) { |
| 63 | - $hookLocations = array_map(function ($hook) { |
|
| 63 | + $hookLocations = array_map(function($hook) { |
|
| 64 | 64 | return trim($hook, " \t\n\r\0\x0B|"); |
| 65 | 65 | }, $tagConfiguration['hook']); |
| 66 | 66 | |
@@ -84,8 +84,8 @@ |
||
| 84 | 84 | $setup = []; |
| 85 | 85 | foreach ($this->getSmartObjectsForExtensionKey($extensionKey) as $className) { |
| 86 | 86 | $table = ModelUtility::getTableNameByModelReflectionAnnotation($className); |
| 87 | - $recordType = (string) ReflectionUtility::getFirstTagValue($className, 'recordType'); |
|
| 88 | - $parentClass = (string) ReflectionUtility::getFirstTagValue($className, 'parentClass'); |
|
| 87 | + $recordType = (string)ReflectionUtility::getFirstTagValue($className, 'recordType'); |
|
| 88 | + $parentClass = (string)ReflectionUtility::getFirstTagValue($className, 'parentClass'); |
|
| 89 | 89 | if ('' !== $table) { |
| 90 | 90 | $setup[] = 'config.tx_extbase.persistence.classes.' . $className . '.mapping.tableName = ' . $table; |
| 91 | 91 | } |
@@ -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 | */ |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | /** |
| 80 | 80 | * Log into the TYPO3_CONF_VARS to get more information in the backend. |
| 81 | 81 | * |
| 82 | - * @param $message |
|
| 82 | + * @param string $message |
|
| 83 | 83 | */ |
| 84 | 84 | public static function log($message) |
| 85 | 85 | { |