@@ -105,11 +105,17 @@ |
||
105 | 105 | $activeConfig->roles = $rolesTable->$testEnvName; |
106 | 106 | } |
107 | 107 | |
108 | + /** |
|
109 | + * @param Injectables $injectables |
|
110 | + */ |
|
108 | 111 | public function mergeStoryplayerConfig($injectables, $spConf) |
109 | 112 | { |
110 | 113 | $this->mergeData('storyplayer', $spConf); |
111 | 114 | } |
112 | 115 | |
116 | + /** |
|
117 | + * @param Injectables $injectables |
|
118 | + */ |
|
113 | 119 | public function mergeSystemUnderTestConfig($injectables, SystemUnderTestConfig $sutConfig = null) |
114 | 120 | { |
115 | 121 | // do we have a system under test? |
@@ -83,6 +83,8 @@ discard block |
||
83 | 83 | |
84 | 84 | /** |
85 | 85 | * constructor |
86 | + * @param string $configType |
|
87 | + * @param string[] $searchFolders |
|
86 | 88 | */ |
87 | 89 | public function __construct($configType, $searchFolders) |
88 | 90 | { |
@@ -195,6 +197,7 @@ discard block |
||
195 | 197 | /** |
196 | 198 | * build a list of the config files in the $searchFolder |
197 | 199 | * |
200 | + * @param string $searchPattern |
|
198 | 201 | * @return array<string> |
199 | 202 | */ |
200 | 203 | protected function findConfigFilenames($searchPattern) |
@@ -329,7 +332,7 @@ discard block |
||
329 | 332 | /** |
330 | 333 | * returns our list of all known configs |
331 | 334 | * |
332 | - * @return array |
|
335 | + * @return SystemUnderTestConfig[] |
|
333 | 336 | */ |
334 | 337 | public function getEntries() |
335 | 338 | { |
@@ -339,7 +342,7 @@ discard block |
||
339 | 342 | /** |
340 | 343 | * returns the names of all of the entries in our list |
341 | 344 | * |
342 | - * @return array<string> |
|
345 | + * @return integer[] |
|
343 | 346 | */ |
344 | 347 | public function getEntryNames() |
345 | 348 | { |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | /** |
221 | 221 | * how should we provision this environment? |
222 | 222 | * |
223 | - * @return array<ProvisioningAdapters> |
|
223 | + * @return ProvisioningAdapter[] |
|
224 | 224 | */ |
225 | 225 | public function getProvisioningAdapters() |
226 | 226 | { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | /** |
266 | 266 | * what hosts exist in this group? |
267 | 267 | * |
268 | - * @return array<TestEnvironment_HostDefinition> |
|
268 | + * @return TestEnvironmentHost[] |
|
269 | 269 | */ |
270 | 270 | public function getHosts() |
271 | 271 | { |
@@ -74,6 +74,9 @@ |
||
74 | 74 | */ |
75 | 75 | protected $storySettings; |
76 | 76 | |
77 | + /** |
|
78 | + * @param string $hostId |
|
79 | + */ |
|
77 | 80 | public function __construct(TestEnvironment_GroupDefinition $parentGroup, $hostId) |
78 | 81 | { |
79 | 82 | $this->setParentGroup($parentGroup); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * this function avoids reset()ing the array, so it will not mess with |
54 | 54 | * any iteration that you may currently be part-way through |
55 | 55 | * |
56 | - * @param array $arrayToSearch |
|
56 | + * @param Storyplayer\TestEnvironments\ProvisioningAdapter[] $arrayToSearch |
|
57 | 57 | * the array to get the first element of |
58 | 58 | * @return mixed |
59 | 59 | * the first element of $array, or NULL if the array is empty |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * Create a new test environment object |
97 | 97 | * |
98 | - * @return TestEnvironment |
|
98 | + * @return TestEnvironment_Definition |
|
99 | 99 | * the test environment object to use in the script |
100 | 100 | */ |
101 | 101 | function newTestEnvironment() |
@@ -75,7 +75,7 @@ |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * @param string $filename |
78 | - * @return bool |
|
78 | + * @return null|boolean |
|
79 | 79 | */ |
80 | 80 | public function buildParseTreeForFile($filename) |
81 | 81 | { |
@@ -438,6 +438,7 @@ discard block |
||
438 | 438 | } |
439 | 439 | |
440 | 440 | /** |
441 | + * @param Prose_Loader $proseLoader |
|
441 | 442 | * @return void |
442 | 443 | */ |
443 | 444 | public function setProseLoader($proseLoader) |
@@ -454,6 +455,9 @@ discard block |
||
454 | 455 | return $this->phaseLoader; |
455 | 456 | } |
456 | 457 | |
458 | + /** |
|
459 | + * @param Phase_Loader $phaseLoader |
|
460 | + */ |
|
457 | 461 | public function setPhaseLoader($phaseLoader) |
458 | 462 | { |
459 | 463 | $this->phaseLoader = $phaseLoader; |
@@ -483,11 +487,17 @@ discard block |
||
483 | 487 | return $this->codeParser; |
484 | 488 | } |
485 | 489 | |
490 | + /** |
|
491 | + * @param \DataSift\Storyplayer\OutputLib\CodeParser $codeParser |
|
492 | + */ |
|
486 | 493 | public function setCodeParser($codeParser) |
487 | 494 | { |
488 | 495 | $this->codeParser = $codeParser; |
489 | 496 | } |
490 | 497 | |
498 | + /** |
|
499 | + * @param \DataSift\Storyplayer\OutputLib\DataFormatter $dataFormatter |
|
500 | + */ |
|
491 | 501 | public function setDataFormatter($dataFormatter) |
492 | 502 | { |
493 | 503 | $this->dataFormatter = $dataFormatter; |
@@ -520,6 +530,7 @@ discard block |
||
520 | 530 | } |
521 | 531 | |
522 | 532 | /** |
533 | + * @param \DataSift\Storyplayer\ConfigLib\ActiveConfig $config |
|
523 | 534 | * @return void |
524 | 535 | */ |
525 | 536 | public function setConfig($config) |
@@ -783,7 +794,7 @@ discard block |
||
783 | 794 | * |
784 | 795 | * @param string $methodName |
785 | 796 | * @param array $methodArgs |
786 | - * @return mixed |
|
797 | + * @return \Prose\Prose |
|
787 | 798 | */ |
788 | 799 | public function __call($methodName, $methodArgs) |
789 | 800 | { |
@@ -177,7 +177,6 @@ |
||
177 | 177 | } |
178 | 178 | |
179 | 179 | /** |
180 | - * @param integer $level |
|
181 | 180 | * @param string $msg |
182 | 181 | * @return void |
183 | 182 | */ |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * __construct |
76 | 76 | * |
77 | 77 | * @param StoryTeller $st The StoryTeller object |
78 | - * @param array $args Any arguments to be used in this Prose module |
|
78 | + * @param string[] $args Any arguments to be used in this Prose module |
|
79 | 79 | * |
80 | 80 | * @return parent::__construct |
81 | 81 | */ |