@@ -25,8 +25,7 @@ |
||
| 25 | 25 | $this->disk = null; |
| 26 | 26 | |
| 27 | 27 | $file = File::make($file->getRealPath(), $this->disk); |
| 28 | - } |
|
| 29 | - else { |
|
| 28 | + } else { |
|
| 30 | 29 | $file = File::make($file, $this->disk); |
| 31 | 30 | } |
| 32 | 31 | |
@@ -38,8 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | if ($result->status) { |
| 40 | 40 | $this->data->logger?->info('Job finished successfully.'); |
| 41 | - } |
|
| 42 | - else { |
|
| 41 | + } else { |
|
| 43 | 42 | $this->data->logger?->error('Job finished with error.'); |
| 44 | 43 | |
| 45 | 44 | $this->fail($result->message); |
@@ -11,8 +11,7 @@ |
||
| 11 | 11 | // @codeCoverageIgnoreStart |
| 12 | 12 | if (ini_get('upload_tmp_dir')) { |
| 13 | 13 | $path = ini_get('upload_tmp_dir'); |
| 14 | - } |
|
| 15 | - else if (getenv('temp')) { |
|
| 14 | + } else if (getenv('temp')) { |
|
| 16 | 15 | $path = getenv('temp'); |
| 17 | 16 | } |
| 18 | 17 | // @codeCoverageIgnoreEnd |