Completed
Push — master ( fe85ac...186bbc )
by Vuong
01:08
created
src/Async.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 namespace VXM\Async;
10 10
 
11 11
 use Closure;
12
+use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
12 13
 use Illuminate\Support\Str;
13 14
 use Spatie\Async\Process\Runnable;
14 15
 use VXM\Async\Runtime\ParentRuntime;
15
-use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
16 16
 
17 17
 /**
18 18
  * @author Vuong Minh <[email protected]>
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Make async job.
85 85
      *
86
-     * @param $job
86
+     * @param callable $job
87 87
      *
88
-     * @return mixed
88
+     * @return callable
89 89
      */
90 90
     protected function makeJob($job)
91 91
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * @param string $event
132 132
      * @param Runnable $process
133 133
      *
134
-     * @return callable
134
+     * @return Closure
135 135
      */
136 136
     protected function makeProcessListener(string $event, Runnable $process): callable
137 137
     {
Please login to merge, or discard this patch.