*/
protected function getStorage()
{
- if ($this->storageInstance !== null) return $this->storageInstance;
+ if ($this->storageInstance !== null) {
+ return $this->storageInstance;
+ }
$storageType = config('filesystems.default');
$this->storageInstance = $this->fileSystem->disk($storageType);
return $this->storageInstance;
}
-
/**
* Check whether or not a folder is empty.
* @param $path
{
return strtolower(config('filesystems.default')) === 'local';
}
-}
\ No newline at end of file
+}