better way to initialize storage libs

This commit is contained in:
Everly Precia Suresh committed 2022-05-12 14:22:41 +00:00
1 parent c3435c30ef
commit 7350d4e447
4 files changed
+16 -91

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ abstract class Worker
* @param string $root path of the device
* @return Device
*/
private function getDevice($root): Device
public function getDevice($root): Device
{
switch (App::getEnv('_APP_STORAGE_DEVICE', Storage::DEVICE_LOCAL)) {
case Storage::DEVICE_LOCAL:default: