@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | public function getParameter($key) |
324 | 324 | { |
325 | 325 | $filteredParameters = $this->parameters->filter( |
326 | - function (Query\Parameter $parameter) use ($key) : bool { |
|
326 | + function(Query\Parameter $parameter) use ($key) : bool { |
|
327 | 327 | $parameterName = $parameter->getName(); |
328 | 328 | |
329 | 329 | return $key === $parameterName || (string) $key === (string) $parameterName; |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | if ($value === null) { |
427 | 427 | throw ORMInvalidArgumentException::invalidIdentifierBindingEntity(); |
428 | 428 | } |
429 | - } catch (MappingException|ORMMappingException $e) { |
|
429 | + } catch (MappingException | ORMMappingException $e) { |
|
430 | 430 | } |
431 | 431 | |
432 | 432 | return $value; |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | */ |
467 | 467 | private function translateNamespaces(Query\ResultSetMapping $rsm) |
468 | 468 | { |
469 | - $translate = function ($alias) { |
|
469 | + $translate = function($alias) { |
|
470 | 470 | return $this->_em->getClassMetadata($alias)->getName(); |
471 | 471 | }; |
472 | 472 | |
@@ -996,7 +996,7 @@ discard block |
||
996 | 996 | $this->getTimestampKey() |
997 | 997 | ); |
998 | 998 | |
999 | - $result = $queryCache->get($queryKey, $rsm, $this->_hints); |
|
999 | + $result = $queryCache->get($queryKey, $rsm, $this->_hints); |
|
1000 | 1000 | |
1001 | 1001 | if ($result !== null) { |
1002 | 1002 | if ($this->cacheLogger) { |
@@ -1132,6 +1132,6 @@ discard block |
||
1132 | 1132 | |
1133 | 1133 | ksort($hints); |
1134 | 1134 | |
1135 | - return sha1($query . '-' . serialize($params) . '-' . serialize($hints)); |
|
1135 | + return sha1($query.'-'.serialize($params).'-'.serialize($hints)); |
|
1136 | 1136 | } |
1137 | 1137 | } |