| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function register(): void |
||
| 21 | { |
||
| 22 | parent::register(); |
||
| 23 | |||
| 24 | $this->app->alias('filesystem.disk', Filesystem::class); |
||
| 25 | |||
| 26 | $config = $this->app->make('config'); |
||
| 27 | |||
| 28 | if ($config->get('filesystems.default') === null) { |
||
| 29 | $config->set('filesystems', $this->getDefaultConfig()); |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 55 |