Completed
Pull Request — master (#3)
by Helpful
02:50
created
src/BeanstalkdQueue.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param  mixed  $data
51 51
      * @param  string $queue
52 52
      *
53
-     * @return mixed
53
+     * @return integer
54 54
      */
55 55
     public function push($job, $data = null, $queue = null)
56 56
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param  string $queue
65 65
      * @param  array  $options
66 66
      *
67
-     * @return mixed
67
+     * @return integer
68 68
      */
69 69
     public function pushRaw($payload, $queue = null, array $options = array())
70 70
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @param  mixed         $data
85 85
      * @param  string        $queue
86 86
      *
87
-     * @return mixed
87
+     * @return integer
88 88
      */
89 89
     public function later($delay, $job, $data = '', $queue = null)
90 90
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @param  string $queue
102 102
      *
103
-     * @return \StudioBonito\SilverStripe\Queue\Jobs\AbstractJob|null
103
+     * @return BeanstalkdJob|null
104 104
      */
105 105
     public function pop($queue = null)
106 106
     {
Please login to merge, or discard this patch.
src/DbQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      *
115 115
      * @param  string $queue
116 116
      *
117
-     * @return \StudioBonito\SilverStripe\Queue\Jobs\AbstractJob|null
117
+     * @return DbJob|null
118 118
      */
119 119
     public function pop($queue = null)
120 120
     {
Please login to merge, or discard this patch.
src/Jobs/DbJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Get the job identifier.
100 100
      *
101
-     * @return string
101
+     * @return integer
102 102
      */
103 103
     public function getJobId()
104 104
     {
Please login to merge, or discard this patch.
src/Worker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      * @param  \StudioBonito\SilverStripe\Queue\QueueInterface $connection
114 114
      * @param  string                                          $queue
115 115
      *
116
-     * @return \StudioBonito\SilverStripe\Queue\Jobs\JobInterface|null
116
+     * @return AbstractJob|null
117 117
      */
118 118
     protected function getNextJob($connection, $queue)
119 119
     {
Please login to merge, or discard this patch.
src/Jobs/BeanstalkdJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Get the job identifier.
100 100
      *
101
-     * @return string
101
+     * @return integer
102 102
      */
103 103
     public function getJobId()
104 104
     {
Please login to merge, or discard this patch.