@@ -91,6 +91,9 @@ discard block |
||
91 | 91 | self::requireContext(__FUNCTION__, func_get_args()); |
92 | 92 | } |
93 | 93 | |
94 | + /** |
|
95 | + * @param string $path |
|
96 | + */ |
|
94 | 97 | public static function setCurrentPath($path) |
95 | 98 | { |
96 | 99 | self::requireContext(__FUNCTION__, func_get_args()); |
@@ -237,6 +240,8 @@ discard block |
||
237 | 240 | |
238 | 241 | /** |
239 | 242 | * {@inheritdoc} |
243 | + * @param string $type |
|
244 | + * @param string $name |
|
240 | 245 | */ |
241 | 246 | public static function drupalGetFilename($type, $name, $filename = null) |
242 | 247 | { |
@@ -245,6 +250,7 @@ discard block |
||
245 | 250 | |
246 | 251 | /** |
247 | 252 | * {@inheritdoc} |
253 | + * @param string $path |
|
248 | 254 | */ |
249 | 255 | public static function fileUnmanagedDelete($path) |
250 | 256 | { |
@@ -253,6 +259,8 @@ discard block |
||
253 | 259 | |
254 | 260 | /** |
255 | 261 | * {@inheritdoc} |
262 | + * @param string $source |
|
263 | + * @param string $destination |
|
256 | 264 | */ |
257 | 265 | public static function fileUnmanagedCopy($source, $destination = null, $replace = FILE_EXISTS_RENAME) |
258 | 266 | { |
@@ -117,6 +117,7 @@ discard block |
||
117 | 117 | |
118 | 118 | /** |
119 | 119 | * {@inheritdoc} |
120 | + * @param string $name |
|
120 | 121 | */ |
121 | 122 | public function getDrupalText($name) |
122 | 123 | { |
@@ -216,7 +217,7 @@ discard block |
||
216 | 217 | * @param array $args |
217 | 218 | * Placeholder declarations. |
218 | 219 | * |
219 | - * @return mixed |
|
220 | + * @return string |
|
220 | 221 | */ |
221 | 222 | public function executeJs($javascript, array $args = []) |
222 | 223 | { |
@@ -233,7 +234,7 @@ discard block |
||
233 | 234 | * |
234 | 235 | * @param StepScope $event |
235 | 236 | * |
236 | - * @return int |
|
237 | + * @return boolean |
|
237 | 238 | */ |
238 | 239 | public static function isStepImpliesJsEvent(StepScope $event) |
239 | 240 | { |