@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | public function getParameter($key) |
324 | 324 | { |
325 | 325 | $filteredParameters = $this->parameters->filter( |
326 | - function ($parameter) use ($key) |
|
326 | + function($parameter) use ($key) |
|
327 | 327 | { |
328 | 328 | // Must not be identical because of string to integer conversion |
329 | 329 | return ($key == $parameter->getName()); |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | public function setParameter($key, $value, $type = null) |
373 | 373 | { |
374 | 374 | $filteredParameters = $this->parameters->filter( |
375 | - function ($parameter) use ($key) |
|
375 | + function($parameter) use ($key) |
|
376 | 376 | { |
377 | 377 | // Must not be identical because of string to integer conversion |
378 | 378 | return ($key == $parameter->getName()); |
@@ -468,7 +468,7 @@ discard block |
||
468 | 468 | */ |
469 | 469 | private function translateNamespaces(Query\ResultSetMapping $rsm) |
470 | 470 | { |
471 | - $translate = function ($alias) { |
|
471 | + $translate = function($alias) { |
|
472 | 472 | return $this->_em->getClassMetadata($alias)->getName(); |
473 | 473 | }; |
474 | 474 | |
@@ -530,7 +530,7 @@ discard block |
||
530 | 530 | */ |
531 | 531 | public function setResultCacheProfile(QueryCacheProfile $profile = null) |
532 | 532 | { |
533 | - if ( $profile !== null && ! $profile->getResultCacheDriver()) { |
|
533 | + if ($profile !== null && ! $profile->getResultCacheDriver()) { |
|
534 | 534 | $resultCacheDriver = $this->_em->getConfiguration()->getResultCacheImpl(); |
535 | 535 | $profile = $profile->setResultCacheDriver($resultCacheDriver); |
536 | 536 | } |
@@ -1113,6 +1113,6 @@ discard block |
||
1113 | 1113 | |
1114 | 1114 | ksort($hints); |
1115 | 1115 | |
1116 | - return sha1($query . '-' . serialize($params) . '-' . serialize($hints)); |
|
1116 | + return sha1($query.'-'.serialize($params).'-'.serialize($hints)); |
|
1117 | 1117 | } |
1118 | 1118 | } |