GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#21)
by
unknown
11:53
created
src/Elastic/ElasticQuery.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         return $this->_dql;
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $dql
64
+     */
62 65
     public function setDQL($dql)
63 66
     {
64 67
         $this->_dql = $dql;
Please login to merge, or discard this patch.
src/ElasticUnitOfWork.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -246,6 +246,9 @@  discard block
 block discarded – undo
246 246
         $this->clear($entity);
247 247
     }
248 248
 
249
+    /**
250
+     * @param string $className
251
+     */
249 252
     public function executeInserts($className)
250 253
     {
251 254
         $persister = $this->getEntityPersister($className);
@@ -262,6 +265,9 @@  discard block
 block discarded – undo
262 265
         $persister->executeInserts();
263 266
     }
264 267
 
268
+    /**
269
+     * @param string $className
270
+     */
265 271
     public function executeUpdates($className)
266 272
     {
267 273
         $persister = $this->getEntityPersister($className);
@@ -276,6 +282,9 @@  discard block
 block discarded – undo
276 282
         }
277 283
     }
278 284
 
285
+    /**
286
+     * @param string $className
287
+     */
279 288
     public function executeDeletions($className)
280 289
     {
281 290
         $persister = $this->getEntityPersister($className);
Please login to merge, or discard this patch.
src/Persister/AbstractEntityPersister.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param object $entity The entity to delete.
188 188
      *
189
-     * @return bool TRUE if the entity got deleted in the database, FALSE otherwise.
189
+     * @return boolean|null TRUE if the entity got deleted in the database, FALSE otherwise.
190 190
      */
191 191
     public function delete($entity)
192 192
     {
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
      * @param object $entity
399 399
      * @param Criteria|null $extraConditions
400 400
      *
401
-     * @return boolean TRUE if the entity exists in the database, FALSE otherwise.
401
+     * @return boolean|null TRUE if the entity exists in the database, FALSE otherwise.
402 402
      */
403 403
     public function exists($entity, Criteria $extraConditions = null)
404 404
     {
Please login to merge, or discard this patch.
src/Persister/ElasticEntityPersister.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
     /** @var WalkerHelper */
54 54
     private $walkerHelper;
55 55
 
56
+    /**
57
+     * @param string $className
58
+     */
56 59
     public function __construct(ElasticEntityManager $em, $className)
57 60
     {
58 61
         $this->className = $className;
@@ -96,6 +99,9 @@  discard block
 block discarded – undo
96 99
         }
97 100
     }
98 101
 
102
+    /**
103
+     * @param integer $offset
104
+     */
99 105
     public function loadAll(array $criteria = [], array $orderBy = null, $limit = null, $offset = null)
100 106
     {
101 107
         $type = $this->getEntityType();
@@ -300,6 +306,9 @@  discard block
 block discarded – undo
300 306
         }
301 307
     }
302 308
 
309
+    /**
310
+     * @param integer $limit
311
+     */
303 312
     public function load(array $criteria, $limit = null, array $orderBy = null)
304 313
     {
305 314
         $results = $this->loadAll($criteria, $orderBy, $limit);
Please login to merge, or discard this patch.