mirror of
https://github.com/friendica/friendica
synced 2025-04-29 23:44:22 +02: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
|
@ -121,6 +121,7 @@ HELP;
|
|||
|
||||
$className = $this->subConsoles[$command];
|
||||
|
||||
/** @var Console $subconsole */
|
||||
$subconsole = new $className($subargs);
|
||||
|
||||
foreach ($this->options as $name => $value) {
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace Friendica\Core;
|
|||
use Exception;
|
||||
use Friendica\BaseObject;
|
||||
use Friendica\Render\FriendicaSmarty;
|
||||
use Friendica\Render\ITemplateEngine;
|
||||
|
||||
/**
|
||||
* @brief This class handles Renderer related functions.
|
||||
|
|
|
@ -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