Failed Conditions
Pull Request — 2.7 (#8064)
by
unknown
06:32
created
lib/Doctrine/ORM/AbstractQuery.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     public function getParameter($key)
322 322
     {
323 323
         $filteredParameters = $this->parameters->filter(
324
-            function (Query\Parameter $parameter) use ($key) : bool {
324
+            function(Query\Parameter $parameter) use ($key) : bool {
325 325
                 $parameterName = $parameter->getName();
326 326
 
327 327
                 return $key === $parameterName || (string) $key === (string) $parameterName;
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
      */
460 460
     private function translateNamespaces(Query\ResultSetMapping $rsm)
461 461
     {
462
-        $translate = function ($alias) {
462
+        $translate = function($alias) {
463 463
             return $this->_em->getClassMetadata($alias)->getName();
464 464
         };
465 465
 
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
             $this->getTimestampKey()
990 990
         );
991 991
 
992
-        $result     = $queryCache->get($queryKey, $rsm, $this->_hints);
992
+        $result = $queryCache->get($queryKey, $rsm, $this->_hints);
993 993
 
994 994
         if ($result !== null) {
995 995
             if ($this->cacheLogger) {
@@ -1125,6 +1125,6 @@  discard block
 block discarded – undo
1125 1125
 
1126 1126
         ksort($hints);
1127 1127
 
1128
-        return sha1($query . '-' . serialize($params) . '-' . serialize($hints));
1128
+        return sha1($query.'-'.serialize($params).'-'.serialize($hints));
1129 1129
     }
1130 1130
 }
Please login to merge, or discard this patch.