diff --git a/retriever/retriever.php b/retriever/retriever.php index 46916647..a5e2f779 100644 --- a/retriever/retriever.php +++ b/retriever/retriever.php @@ -6,6 +6,7 @@ * Author: Matthew Exon */ +use Friendica\App; use Friendica\Core\Addon; use Friendica\Core\Hook; use Friendica\Core\Logger; @@ -972,10 +973,10 @@ function retriever_content(App $a) { /** * @brief Hook that adds the retriever option to the contact menu * - * @param App $a The App object + * @param App $a The App object (by ref) * @param array $args Contact menu details to be filled in (by ref) */ -function retriever_contact_photo_menu(array &$args) { +function retriever_contact_photo_menu(App &$a, array &$args) { if (!$args) { return; }