mirror of
https://github.com/friendica/friendica
synced 2025-04-23 10:30:11 +00:00
Fix types in doc blocks/prototypes
This commit is contained in:
parent
5ea033db33
commit
64847e7cc8
14 changed files with 91 additions and 77 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace Friendica\Core;
|
||||
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Storage\IStorage;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -138,6 +139,7 @@ class StorageManager
|
|||
while($r = DBA::fetch($rr)) {
|
||||
$id = $r['id'];
|
||||
$data = $r['data'];
|
||||
/** @var IStorage $backendClass */
|
||||
$backendClass = $r['backend-class'];
|
||||
$backendRef = $r['backend-ref'];
|
||||
if (!is_null($backendClass) && $backendClass !== '') {
|
||||
|
@ -146,6 +148,7 @@ class StorageManager
|
|||
}
|
||||
|
||||
Logger::log("save data to new backend " . $dest);
|
||||
/** @var IStorage $dest */
|
||||
$ref = $dest::put($data);
|
||||
Logger::log("saved data as " . $ref);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue