Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | |||
25 | #[\Override] |
||
26 | public function publicUrl(string $path, \League\Flysystem\Config $config): string |
||
27 | { |
||
28 | if ($this->fileExists('public/'.$path)) { |
||
29 | if (function_exists('url')) { |
||
30 | // @codeCoverageIgnoreStart |
||
31 | return url($this->storagePath.'//public//'.$path); |
||
32 | // @codeCoverageIgnoreEnd |
||
33 | } |
||
34 | |||
40 |