@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | return ''; |
61 | 61 | } |
62 | 62 | |
63 | - return (string) $uri; |
|
63 | + return (string)$uri; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
@@ -93,9 +93,9 @@ discard block |
||
93 | 93 | */ |
94 | 94 | protected function isAlwaysActivated() |
95 | 95 | { |
96 | - $configuration = unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
96 | + $configuration = unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
97 | 97 | |
98 | - return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool) $configuration['enableAutoloaderClearCacheInProduction'] : false; |
|
98 | + return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool)$configuration['enableAutoloaderClearCacheInProduction'] : false; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
@@ -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 | } |