| @@ -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 |      { | 
| @@ -165,7 +165,7 @@ | ||
| 165 | 165 | static $original = 'php_mail'; | 
| 166 | 166 | |
| 167 | 167 | $systemMail = \Drupal::configFactory() | 
| 168 | -          ->getEditable('system.mail'); | |
| 168 | +            ->getEditable('system.mail'); | |
| 169 | 169 | |
| 170 | 170 |          if ($useTesting) { | 
| 171 | 171 | // Store original mail system to restore it after scenario. | 
| @@ -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 |      { |