@@ -58,7 +58,7 @@ |
||
58 | 58 | * using a requestParser. |
59 | 59 | * |
60 | 60 | * @param array|\stdClass $request The request to convert to an object. |
61 | - * @param string|array $className The class of the object to which the request must be converted. |
|
61 | + * @param string $className The class of the object to which the request must be converted. |
|
62 | 62 | * @param string $behavior The behaviour of the parser. |
63 | 63 | */ |
64 | 64 | public function parseRequest( |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | */ |
114 | 114 | private function getClassName($className, $isArray) |
115 | 115 | { |
116 | - return '' . $isArray ? $className[0] : $className; |
|
116 | + return ''.$isArray ? $className[0] : $className; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | */ |
125 | 125 | private function generateRequestParserObject($className, RequestParser $parser) |
126 | 126 | { |
127 | - $cacheKey = str_replace('\\', '', $className . get_class($parser)); |
|
127 | + $cacheKey = str_replace('\\', '', $className.get_class($parser)); |
|
128 | 128 | $cacheItem = $this->cache->getItem($cacheKey); |
129 | 129 | $return = $cacheItem->get(); |
130 | 130 | if ($return === null) { |