Completed
Push — master ( b14a01...241c3e )
by Dennis
06:24
created
Command/RunCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -152,6 +152,12 @@
 block discarded – undo
152 152
         return Command::SUCCESS;
153 153
     }
154 154
 
155
+    /**
156
+     * @param integer $startTime
157
+     * @param integer $maxRuntime
158
+     * @param integer $idleTime
159
+     * @param integer $maxJobs
160
+     */
155 161
     private function runJobs($workerName, $startTime, $maxRuntime, $idleTime, $maxJobs, array $restrictedQueues, array $queueOptionsDefaults, array $queueOptions)
156 162
     {
157 163
         $hasPcntl = extension_loaded('pcntl');
Please login to merge, or discard this patch.
Command/ScheduleCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@
 block discarded – undo
110 110
         }
111 111
     }
112 112
 
113
+    /**
114
+     * @param integer $commandName
115
+     */
113 116
     private function acquireLock($commandName, \DateTime $lastRunAt)
114 117
     {
115 118
         /** @var EntityManager $em */
Please login to merge, or discard this patch.
Entity/Listener/PersistentRelatedEntitiesCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
      * Keys are preserved in the resulting collections.
414 414
      *
415 415
      * @param Closure $p The predicate on which to partition.
416
-     * @return array An array with two elements. The first element contains the collection
416
+     * @return ArrayCollection[] An array with two elements. The first element contains the collection
417 417
      *               of elements where the predicate returned TRUE, the second element
418 418
      *               contains the collection of elements where the predicate returned FALSE.
419 419
      */
Please login to merge, or discard this patch.
Entity/Repository/JobManager.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
         $this->retryScheduler = $retryScheduler;
46 46
     }
47 47
 
48
+    /**
49
+     * @return Job
50
+     */
48 51
     public function findStartableJob($workerName, array &$excludedIds = array(), $excludedQueues = array(), $restrictedQueues = array())
49 52
     {
50 53
         while (null !== $job = $this->findPendingJob($excludedIds, $excludedQueues, $restrictedQueues)) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Doctrine\Common\Collections\ArrayCollection;
22 22
 use Doctrine\Common\Util\ClassUtils;
23 23
 use Doctrine\DBAL\Connection;
24
-use Doctrine\DBAL\Types\Types;
25 24
 use Doctrine\ORM\EntityManager;
26 25
 use Doctrine\ORM\Query\Parameter;
27 26
 use Doctrine\ORM\Query\ResultSetMappingBuilder;
Please login to merge, or discard this patch.