protected function getStorage() { if ($this->storageInstance !== null) { return $this->storageInstance; } $storageType = config('filesystems.default'); $this->storageInstance = $this->fileSystem->disk($storageType); return $this->storageInstance; }