@@ -200,14 +200,14 @@ discard block |
||
| 200 | 200 | |
| 201 | 201 | $this->view->expects($this->any()) |
| 202 | 202 | ->method('getRelativePath') |
| 203 | - ->willReturnCallback(function ($path) { |
|
| 203 | + ->willReturnCallback(function($path) { |
|
| 204 | 204 | return str_replace('/admin/files/', '', $path); |
| 205 | 205 | }); |
| 206 | 206 | |
| 207 | 207 | $this->view->expects($this->any()) |
| 208 | 208 | ->method('getAbsolutePath') |
| 209 | - ->willReturnCallback(function ($path) { |
|
| 210 | - return Filesystem::normalizePath('/admin/files' . $path); |
|
| 209 | + ->willReturnCallback(function($path) { |
|
| 210 | + return Filesystem::normalizePath('/admin/files'.$path); |
|
| 211 | 211 | }); |
| 212 | 212 | |
| 213 | 213 | $this->overwriteService(View::class, $this->view); |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | ->willReturn(FileInfo::MIMETYPE_FOLDER); |
| 305 | 305 | |
| 306 | 306 | $this->view->method('getRelativePath') |
| 307 | - ->willReturnCallback(function ($path) { |
|
| 307 | + ->willReturnCallback(function($path) { |
|
| 308 | 308 | return str_replace('/admin/files/', '', $path); |
| 309 | 309 | }); |
| 310 | 310 | |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | ->willReturn(FileInfo::MIMETYPE_FOLDER); |
| 355 | 355 | |
| 356 | 356 | $this->view->method('getRelativePath') |
| 357 | - ->willReturnCallback(function ($path) { |
|
| 357 | + ->willReturnCallback(function($path) { |
|
| 358 | 358 | return str_replace('/admin/files/', '', $path); |
| 359 | 359 | }); |
| 360 | 360 | |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | $invokedCount = $this->exactly(2); |
| 391 | 391 | $directoryNode->expects($invokedCount) |
| 392 | 392 | ->method('isReadable') |
| 393 | - ->willReturnCallback(function () use ($invokedCount) { |
|
| 393 | + ->willReturnCallback(function() use ($invokedCount) { |
|
| 394 | 394 | return match ($invokedCount->numberOfInvocations()) { |
| 395 | 395 | 1 => true, |
| 396 | 396 | 2 => false, |