@@ -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); |
@@ -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 | { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | } |
42 | 42 | } |
43 | 43 | |
44 | - return (string) $default; |
|
44 | + return (string)$default; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -83,10 +83,10 @@ discard block |
||
83 | 83 | */ |
84 | 84 | public static function getLllString($key, $extensionKey, $file = null, $tableName = null) |
85 | 85 | { |
86 | - if($file === null) { |
|
86 | + if ($file === null) { |
|
87 | 87 | $file = 'locallang.xlf'; |
88 | 88 | } |
89 | - if(self::useTableNameFileBase() && $tableName !== null) { |
|
89 | + if (self::useTableNameFileBase() && $tableName !== null) { |
|
90 | 90 | $file = $tableName . '.xlf'; |
91 | 91 | } |
92 | 92 | return 'LLL:EXT:' . $extensionKey . '/Resources/Private/Language/' . $file . ':' . $key; |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | foreach ($customFieldInfo as $info) { |
71 | 71 | $key = $tableName . '.' . $info['name']; |
72 | 72 | |
73 | - if($this->useTableNameFileBase()) { |
|
73 | + if ($this->useTableNameFileBase()) { |
|
74 | 74 | // Without prefix ! |
75 | 75 | $key = $info['name']; |
76 | 76 | } |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | 'name' => GeneralUtility::camelCaseToLowerCaseUnderscored($property->getName()), |
273 | 273 | 'db' => trim($dbInformation[0]), |
274 | 274 | 'var' => trim($var), |
275 | - 'rte' => (bool) $property->isTaggedWith('enableRichText'), |
|
275 | + 'rte' => (bool)$property->isTaggedWith('enableRichText'), |
|
276 | 276 | ]; |
277 | 277 | } |
278 | 278 | |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | $classReflection = ReflectionUtility::createReflectionClass($modelClassName); |
336 | 336 | if ($classReflection->isTaggedWith('key')) { |
337 | 337 | $additionalKeys = $classReflection->getTagValues('key'); |
338 | - array_walk($additionalKeys, function (&$item) { |
|
338 | + array_walk($additionalKeys, function(&$item) { |
|
339 | 339 | $item = 'KEY ' . $item; |
340 | 340 | }); |
341 | 341 | $fields = array_merge($fields, $additionalKeys); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function assureLabel($key, $extensionName, &$default, $arguments, $tableName) |
28 | 28 | { |
29 | 29 | $overrideBaseName = null; |
30 | - if($this->useTableNameFileBase()) { |
|
30 | + if ($this->useTableNameFileBase()) { |
|
31 | 31 | $overrideBaseName = $tableName; |
32 | 32 | } |
33 | 33 |