@@ -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 | */ |
@@ -173,6 +173,4 @@ |
||
173 | 173 | $initializer->addTemplate('Drupal', new DrupalTemplate()); |
174 | 174 | $initializer->addTemplate('TYPO3', new Typo3Template()); |
175 | 175 | |
176 | - return $initializer; |
|
177 | - } |
|
178 | -} |
|
176 | + return $initializer |
|
179 | 177 | \ No newline at end of file |
@@ -173,6 +173,4 @@ |
||
173 | 173 | $initializer->addTemplate('Drupal', new DrupalTemplate()); |
174 | 174 | $initializer->addTemplate('TYPO3', new Typo3Template()); |
175 | 175 | |
176 | - return $initializer; |
|
177 | - } |
|
178 | -} |
|
176 | + return $initializer |
|
179 | 177 | \ No newline at end of file |
@@ -105,6 +105,9 @@ discard block |
||
105 | 105 | return $this; |
106 | 106 | } |
107 | 107 | |
108 | + /** |
|
109 | + * @return null|string |
|
110 | + */ |
|
108 | 111 | public function getPort() |
109 | 112 | { |
110 | 113 | return $this->config->get('port'); |
@@ -116,6 +119,9 @@ discard block |
||
116 | 119 | return $this; |
117 | 120 | } |
118 | 121 | |
122 | + /** |
|
123 | + * @return null|string |
|
124 | + */ |
|
119 | 125 | public function getConfigFile() |
120 | 126 | { |
121 | 127 | return $this->config->get('config_file'); |
@@ -127,6 +133,9 @@ discard block |
||
127 | 133 | return $this; |
128 | 134 | } |
129 | 135 | |
136 | + /** |
|
137 | + * @return null|string |
|
138 | + */ |
|
130 | 139 | public function getIdentityFile() |
131 | 140 | { |
132 | 141 | return $this->config->get('identity_file'); |
@@ -9,7 +9,6 @@ |
||
9 | 9 | |
10 | 10 | use Deployer\Configuration\Configuration; |
11 | 11 | use Deployer\Component\Ssh\Arguments; |
12 | -use Deployer\Configuration\ProxyConfig; |
|
13 | 12 | use Deployer\Deployer; |
14 | 13 | |
15 | 14 | class Host |
@@ -88,11 +88,19 @@ |
||
88 | 88 | } |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @param double $interval |
|
93 | + * @param \Closure $callback |
|
94 | + */ |
|
91 | 95 | public function addPeriodicTimer($interval, $callback) |
92 | 96 | { |
93 | 97 | $this->loop->addPeriodicTimer($interval, $callback); |
94 | 98 | } |
95 | 99 | |
100 | + /** |
|
101 | + * @param integer $interval |
|
102 | + * @param \Closure $callback |
|
103 | + */ |
|
96 | 104 | public function addTimer($interval, $callback) |
97 | 105 | { |
98 | 106 | $this->loop->addTimer($interval, $callback); |