@@ -47,6 +47,9 @@ |
||
| 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')) { |
@@ -14,6 +14,9 @@ |
||
| 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) { |