]> git.mxchange.org Git - friendica-addons.git/blobdiff - morepokes/morepokes.php
Merge pull request 'This addon will replace "youtube.com" with the chosen Invidious...
[friendica-addons.git] / morepokes / morepokes.php
index 4e7e7cfe9a9c371aef08a0047172aa4660a34194..abe59a6e6c2b506dfb40e67735a8b4ebfd5c41d9 100644 (file)
@@ -6,6 +6,8 @@
  * Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
  *
  */
+
+use Friendica\App;
 use Friendica\Core\Hook;
 use Friendica\DI;
 
@@ -14,7 +16,7 @@ function morepokes_install()
          Hook::register('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
 }
 
-function morepokes_poke_verbs($a, &$b)
+function morepokes_poke_verbs(array &$b)
 {
        $b['bitchslap'] = ['bitchslapped', DI::l10n()->t('bitchslap'), DI::l10n()->t('bitchslapped')];
        $b['shag'] = ['shag', DI::l10n()->t('shag'), DI::l10n()->t('shagged')];