]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Notifier.php
Merge pull request #9904 from annando/thread
[friendica.git] / src / Worker / Notifier.php
index 7a78e985c171277d905a803729fa3eb7f802438f..4044e3769ad85ffd53e560ec7147f02f89857502 100644 (file)
@@ -53,7 +53,7 @@ use Friendica\Protocol\Salmon;
 
 class Notifier
 {
-       public static function execute($cmd, $target_id)
+       public static function execute(string $cmd, int $target_id)
        {
                $a = DI::app();
 
@@ -125,7 +125,7 @@ class Notifier
                                return;
                        }
 
-                       $items = Post::inArray($items_stmt);
+                       $items = Post::toArray($items_stmt);
 
                        // avoid race condition with deleting entries
                        if ($items[0]['deleted']) {