@@ -296,7 +296,7 @@ |
||
296 | 296 | ? $this->persister->expandCriteriaParameters($criteria) |
297 | 297 | : $this->persister->expandParameters($criteria); |
298 | 298 | |
299 | - return sha1($query . serialize($params) . serialize($orderBy) . $limit . $offset); |
|
299 | + return sha1($query.serialize($params).serialize($orderBy).$limit.$offset); |
|
300 | 300 | } |
301 | 301 | |
302 | 302 | /** |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | public function getParameter($key) |
325 | 325 | { |
326 | 326 | $filteredParameters = $this->parameters->filter( |
327 | - function ($parameter) use ($key) |
|
327 | + function($parameter) use ($key) |
|
328 | 328 | { |
329 | 329 | // Must not be identical because of string to integer conversion |
330 | 330 | return ($key == $parameter->getName()); |
@@ -373,7 +373,7 @@ discard block |
||
373 | 373 | public function setParameter($key, $value, $type = null) |
374 | 374 | { |
375 | 375 | $filteredParameters = $this->parameters->filter( |
376 | - function ($parameter) use ($key) |
|
376 | + function($parameter) use ($key) |
|
377 | 377 | { |
378 | 378 | // Must not be identical because of string to integer conversion |
379 | 379 | return ($key == $parameter->getName()); |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | */ |
470 | 470 | private function translateNamespaces(Query\ResultSetMapping $rsm) |
471 | 471 | { |
472 | - $translate = function ($alias) { |
|
472 | + $translate = function($alias) { |
|
473 | 473 | return $this->_em->getClassMetadata($alias)->getName(); |
474 | 474 | }; |
475 | 475 | |
@@ -1000,7 +1000,7 @@ discard block |
||
1000 | 1000 | $this->getTimestampKey() |
1001 | 1001 | ); |
1002 | 1002 | |
1003 | - $result = $queryCache->get($queryKey, $rsm, $this->_hints); |
|
1003 | + $result = $queryCache->get($queryKey, $rsm, $this->_hints); |
|
1004 | 1004 | |
1005 | 1005 | if ($result !== null) { |
1006 | 1006 | if ($this->cacheLogger) { |
@@ -1136,6 +1136,6 @@ discard block |
||
1136 | 1136 | |
1137 | 1137 | ksort($hints); |
1138 | 1138 | |
1139 | - return sha1($query . '-' . serialize($params) . '-' . serialize($hints)); |
|
1139 | + return sha1($query.'-'.serialize($params).'-'.serialize($hints)); |
|
1140 | 1140 | } |
1141 | 1141 | } |