Completed
Push — master ( 35c8bf...601de6 )
by Dmitry
04:42 queued 01:15
created
src/Service.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
         }
20 20
     }
21 21
 
22
+    /**
23
+     * @param string $event
24
+     */
22 25
     public function eventExists($event)
23 26
     {
24 27
         return $this->exists("events/$event");
@@ -35,6 +38,9 @@  discard block
 block discarded – undo
35 38
         $this->store("jobs/$job/service", $this->name);
36 39
     }
37 40
 
41
+    /**
42
+     * @param string $event
43
+     */
38 44
     public function subscribe($event)
39 45
     {
40 46
         $this->store("events/$event/$this->name");
Please login to merge, or discard this patch.
src/Controllers/Api.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
         return is_array($data) ? $response : $response[0];
48 48
     }
49 49
 
50
+    /**
51
+     * @param Runner $runner
52
+     */
50 53
     private function process($runner, $rpc)
51 54
     {
52 55
         if (!property_exists($rpc, 'job')) {
Please login to merge, or discard this patch.
src/Dispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
         $this->etcd = $etcd;
15 15
     }
16 16
 
17
+    /**
18
+     * @param string $job
19
+     */
17 20
     public function dispatch($job, $params = [], $host = null)
18 21
     {
19 22
         if (!$host) {
Please login to merge, or discard this patch.