@@ -44,6 +44,9 @@ |
||
44 | 44 | return is_array($data) ? $response : $response[0]; |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param Runner $runner |
|
49 | + */ |
|
47 | 50 | private function process($runner, $rpc) |
48 | 51 | { |
49 | 52 | if(!property_exists($rpc, 'job')) { |
@@ -28,6 +28,9 @@ |
||
28 | 28 | $this->store("jobs/$job/service", $this->service); |
29 | 29 | } |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $event |
|
33 | + */ |
|
31 | 34 | public function subscribe($event) |
32 | 35 | { |
33 | 36 | $this->store("events/$event/$this->service"); |