@@ -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. |
@@ -290,8 +290,8 @@ |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | $url += [ |
| 293 | - // When URL starts from "//" the "scheme" key will not exists. |
|
| 294 | - 'scheme' => 'http', |
|
| 293 | + // When URL starts from "//" the "scheme" key will not exists. |
|
| 294 | + 'scheme' => 'http', |
|
| 295 | 295 | ]; |
| 296 | 296 | |
| 297 | 297 | // Check scheme. |