]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/SampleStorageBackend.php
Merge pull request #13651 from annando/picture-upload
[friendica.git] / tests / Util / SampleStorageBackend.php
index 1185a2564695be78b82432d956ae1ab03576bc74..ac9a21b66295fafcb8c3b3c173787709ceafc579 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
 namespace Friendica\Test\Util;
 
 use Friendica\Core\Hook;
-use Friendica\Model\Storage\IWritableStorage;
+use Friendica\Core\Storage\Capability\ICanWriteToStorage;
 
 use Friendica\Core\L10n;
 
 /**
  * A backend storage example class
  */
-class SampleStorageBackend implements IWritableStorage
+class SampleStorageBackend implements ICanWriteToStorage
 {
        const NAME = 'Sample Storage';
 
@@ -102,7 +102,7 @@ class SampleStorageBackend implements IWritableStorage
                return $this->options;
        }
 
-       public function __toString()
+       public function __toString(): string
        {
                return self::NAME;
        }