]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/SampleStorageBackend.php
Merge pull request #11096 from nupplaphil/feat/more_deprecated_notices
[friendica.git] / tests / Util / SampleStorageBackend.php
index 1185a2564695be78b82432d956ae1ab03576bc74..03fca0171f64685c02dc18707b842fb31cfe3d09 100644 (file)
 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;
        }