From 7c38647573b3bd767c1a924753f1e2f11ab585e4 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 27 Oct 2021 20:06:04 +0200 Subject: [PATCH] Cleanup namespace --- src/Console/Storage.php | 2 +- src/Core/Storage/Repository/StorageManager.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Console/Storage.php b/src/Console/Storage.php index fbe55f34c3..a4342e4b41 100644 --- a/src/Console/Storage.php +++ b/src/Console/Storage.php @@ -33,7 +33,7 @@ class Storage extends \Asika\SimpleConsole\Console { protected $helpOptions = ['h', 'help', '?']; - /** @var \Friendica\Core\Storage\Repository\StorageManager */ + /** @var StorageManager */ private $storageManager; /** diff --git a/src/Core/Storage/Repository/StorageManager.php b/src/Core/Storage/Repository/StorageManager.php index 5df6e5ac7d..b8cb0c9e4d 100644 --- a/src/Core/Storage/Repository/StorageManager.php +++ b/src/Core/Storage/Repository/StorageManager.php @@ -195,11 +195,11 @@ class StorageManager $this->backendInstances[$name] = new Type\Database($this->dba); break; // at least, try if there's an addon for the backend - case \Friendica\Core\Storage\Type\SystemResource::getName(): - $this->backendInstances[$name] = new \Friendica\Core\Storage\Type\SystemResource(); + case Type\SystemResource::getName(): + $this->backendInstances[$name] = new Type\SystemResource(); break; - case \Friendica\Core\Storage\Type\ExternalResource::getName(): - $this->backendInstances[$name] = new \Friendica\Core\Storage\Type\ExternalResource(); + case Type\ExternalResource::getName(): + $this->backendInstances[$name] = new Type\ExternalResource(); break; default: $data = [