@@ -251,6 +251,7 @@ discard block |
||
251 | 251 | /** |
252 | 252 | * @Then /^I should be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
253 | 253 | * @Then /^I should still be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
254 | + * @param string $property |
|
254 | 255 | */ |
255 | 256 | public function iShouldBeOnTheResourcePage($type, $property, $value) |
256 | 257 | { |
@@ -264,6 +265,7 @@ discard block |
||
264 | 265 | /** |
265 | 266 | * @Given /^I am on the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
266 | 267 | * @Given /^I go to the page of ([^""]*) with ([^""]*) "([^""]*)"$/ |
268 | + * @param string $property |
|
267 | 269 | */ |
268 | 270 | public function iAmOnTheResourcePage($type, $property, $value) |
269 | 271 | { |
@@ -285,6 +287,7 @@ discard block |
||
285 | 287 | |
286 | 288 | /** |
287 | 289 | * @Given /^I am (building|viewing|editing) ([^""]*) with ([^""]*) "([^""]*)"$/ |
290 | + * @param string $property |
|
288 | 291 | */ |
289 | 292 | public function iAmDoingSomethingWithResource($action, $type, $property, $value) |
290 | 293 | { |
@@ -306,6 +309,7 @@ discard block |
||
306 | 309 | |
307 | 310 | /** |
308 | 311 | * @Then /^I should be (building|viewing|editing|testing) ([^"]*) with ([^"]*) "([^""]*)"$/ |
312 | + * @param string $property |
|
309 | 313 | */ |
310 | 314 | public function iShouldBeDoingSomethingWithResource($action, $type, $property, $value) |
311 | 315 | { |
@@ -191,7 +191,7 @@ |
||
191 | 191 | } |
192 | 192 | |
193 | 193 | /** |
194 | - * @return array |
|
194 | + * @return string[] |
|
195 | 195 | */ |
196 | 196 | static public function getDriverKeys() |
197 | 197 | { |
@@ -268,7 +268,7 @@ |
||
268 | 268 | /** |
269 | 269 | * Returns the user unique id. |
270 | 270 | * |
271 | - * @return mixed |
|
271 | + * @return integer |
|
272 | 272 | */ |
273 | 273 | public function getId() |
274 | 274 | { |
@@ -259,6 +259,9 @@ |
||
259 | 259 | return $this->getScreenNameHash($screenName); |
260 | 260 | } |
261 | 261 | |
262 | + /** |
|
263 | + * @param string $screenName |
|
264 | + */ |
|
262 | 265 | public function getScreenNameHash($screenName, $hashLength = 20) |
263 | 266 | { |
264 | 267 | $screenName = sha1($screenName); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Get steam query service |
37 | 37 | * |
38 | - * @return Twig_Environment |
|
38 | + * @return \Twig_Environment |
|
39 | 39 | * @throws Exception |
40 | 40 | */ |
41 | 41 | protected function getTwig() |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * Set the port needed by the query |
86 | 86 | * |
87 | 87 | * @param integer $port |
88 | - * @return integer |
|
88 | + * @return TeamspeakServer |
|
89 | 89 | */ |
90 | 90 | public function setQueryPort($port) |
91 | 91 | { |
@@ -130,6 +130,9 @@ discard block |
||
130 | 130 | return $this->query->serverList(); |
131 | 131 | } |
132 | 132 | |
133 | + /** |
|
134 | + * @param integer $sid |
|
135 | + */ |
|
133 | 136 | public function startInstance($sid) |
134 | 137 | { |
135 | 138 | $this->needConnected(); |
@@ -137,6 +140,9 @@ discard block |
||
137 | 140 | return $this->query->serverStart($sid); |
138 | 141 | } |
139 | 142 | |
143 | + /** |
|
144 | + * @param integer $sid |
|
145 | + */ |
|
140 | 146 | public function stopInstance($sid) |
141 | 147 | { |
142 | 148 | $this->needConnected(); |