@@ -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? |
@@ -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() |
@@ -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 | */ |
@@ -99,6 +99,9 @@ |
||
99 | 99 | return array(); |
100 | 100 | } |
101 | 101 | |
102 | + /** |
|
103 | + * @return string |
|
104 | + */ |
|
102 | 105 | public function getPublicDnsName() |
103 | 106 | { |
104 | 107 | // make sure we have a host to work with |
@@ -62,6 +62,10 @@ |
||
62 | 62 | */ |
63 | 63 | class FromPDOStatement extends Prose |
64 | 64 | { |
65 | + /** |
|
66 | + * @param \DataSift\Storyplayer\PlayerLib\StoryTeller $st |
|
67 | + * @param PDOStatement[] $args |
|
68 | + */ |
|
65 | 69 | public function __construct($st, $args) |
66 | 70 | { |
67 | 71 | // call our parent first |
@@ -125,6 +125,9 @@ discard block |
||
125 | 125 | return $value; |
126 | 126 | } |
127 | 127 | |
128 | + /** |
|
129 | + * @param string $setting |
|
130 | + */ |
|
128 | 131 | public function getModuleSetting($setting) |
129 | 132 | { |
130 | 133 | // what are we doing? |
@@ -154,7 +157,7 @@ discard block |
||
154 | 157 | * We've standardised on 'getConfig()' as the documented name for this |
155 | 158 | * functionality across all three of the config-related modules. |
156 | 159 | * |
157 | - * @return object |
|
160 | + * @return string |
|
158 | 161 | */ |
159 | 162 | public function getAllSettings() |
160 | 163 | { |
@@ -62,6 +62,10 @@ |
||
62 | 62 | */ |
63 | 63 | class UsingPDODB extends Prose |
64 | 64 | { |
65 | + /** |
|
66 | + * @param \DataSift\Storyplayer\PlayerLib\StoryTeller $st |
|
67 | + * @param PDO[] $args |
|
68 | + */ |
|
65 | 69 | public function __construct($st, $args) |
66 | 70 | { |
67 | 71 | // call our parent first |