@@ -396,8 +396,8 @@ discard block |
||
| 396 | 396 | } |
| 397 | 397 | |
| 398 | 398 | /** |
| 399 | - * Creates a temporary file |
|
| 400 | - * |
|
| 399 | + * Creates a temporary file |
|
| 400 | + * |
|
| 401 | 401 | * @param string $content |
| 402 | 402 | * |
| 403 | 403 | * @return bool|string |
@@ -410,10 +410,10 @@ discard block |
||
| 410 | 410 | |
| 411 | 411 | file_put_contents($temporaryPath, $content); |
| 412 | 412 | |
| 413 | - // The file is automatically removed when closed, or when the script ends. |
|
| 414 | - register_shutdown_function(function() use($temporaryPath) { |
|
| 415 | - unlink($temporaryPath); |
|
| 416 | - }); |
|
| 413 | + // The file is automatically removed when closed, or when the script ends. |
|
| 414 | + register_shutdown_function(function() use($temporaryPath) { |
|
| 415 | + unlink($temporaryPath); |
|
| 416 | + }); |
|
| 417 | 417 | |
| 418 | 418 | return $temporaryPath; |
| 419 | 419 | } |