Completed
Pull Request — master (#6062)
by Javier
10:19
created
lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,11 +282,12 @@
 block discarded – undo
282 282
     /**
283 283
      * Generates a string of currently query
284 284
      *
285
-     * @param array   $query
285
+     * @param string   $query
286 286
      * @param string  $criteria
287 287
      * @param array   $orderBy
288 288
      * @param integer $limit
289 289
      * @param integer $offset
290
+     * @param string $indexBy
290 291
      *
291 292
      * @return string
292 293
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
             ? $this->persister->expandCriteriaParameters($criteria)
297 297
             : $this->persister->expandParameters($criteria);
298 298
 
299
-        return sha1($query . serialize($params) . serialize($orderBy) . $limit . $offset . $indexBy);
299
+        return sha1($query.serialize($params).serialize($orderBy).$limit.$offset.$indexBy);
300 300
     }
301 301
 
302 302
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -166,6 +166,7 @@
 block discarded – undo
166 166
 
167 167
     /**
168 168
      * {@inheritdoc}
169
+     * @param string $indexBy
169 170
      */
170 171
     public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null, $indexBy = null)
171 172
     {
Please login to merge, or discard this patch.