@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function write(string $filename, string $contents): void |
29 | 29 | { |
30 | - $this->vgrCoreStorage->write($this->prefix . $filename, $contents); |
|
30 | + $this->vgrCoreStorage->write($this->prefix . $filename, $contents); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | $stream = $this->vgrCoreStorage->readStream($path); |
45 | - return new StreamedResponse(function () use ($stream) { |
|
45 | + return new StreamedResponse(function() use ($stream) { |
|
46 | 46 | fpassthru($stream); |
47 | 47 | exit(); |
48 | 48 | }, 200, ['Content-Type' => $this->getMimeType($path)]); |
@@ -10,7 +10,8 @@ |
||
10 | 10 | { |
11 | 11 | private DataRepository $dataRepository; |
12 | 12 | |
13 | - public function __construct(DataRepository $dataRepository) { |
|
13 | + public function __construct(DataRepository $dataRepository) |
|
14 | + { |
|
14 | 15 | $this->dataRepository = $dataRepository; |
15 | 16 | } |
16 | 17 |