@@ -14,6 +14,7 @@ |
||
14 | 14 | * |
15 | 15 | * @param string $format The format. |
16 | 16 | * @param mixed $value,... The value(s). |
17 | + * @param string $value |
|
17 | 18 | * |
18 | 19 | * @return Exception The exception. |
19 | 20 | */ |
@@ -93,6 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * @param Task[] $tasks |
95 | 95 | * @param Host[] $hosts |
96 | + * @param Planner $plan |
|
96 | 97 | */ |
97 | 98 | public function run(array $tasks, array $hosts, $plan = null): int |
98 | 99 | { |
@@ -76,16 +76,25 @@ |
||
76 | 76 | return $this->config->get('user'); |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @return null|string |
|
81 | + */ |
|
79 | 82 | public function port() |
80 | 83 | { |
81 | 84 | return $this->config->get('port'); |
82 | 85 | } |
83 | 86 | |
87 | + /** |
|
88 | + * @return null|string |
|
89 | + */ |
|
84 | 90 | public function configFile() |
85 | 91 | { |
86 | 92 | return $this->config->get('config_file'); |
87 | 93 | } |
88 | 94 | |
95 | + /** |
|
96 | + * @return null|string |
|
97 | + */ |
|
89 | 98 | public function identityFile() |
90 | 99 | { |
91 | 100 | return $this->config->get('identity_file'); |
@@ -30,6 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @param string ...$hostname |
33 | + * @param string[] $hostname |
|
33 | 34 | * @return Host|Host[]|Proxy |
34 | 35 | */ |
35 | 36 | function host(...$hostname) |
@@ -66,6 +67,7 @@ discard block |
||
66 | 67 | |
67 | 68 | /** |
68 | 69 | * @param string ...$hostnames |
70 | + * @param string[] $hostnames |
|
69 | 71 | * @return Localhost|Localhost[]|Proxy |
70 | 72 | */ |
71 | 73 | function localhost(...$hostnames) |