mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Changes:
- added more type-hints - cleaned up some files (curly braces, spaces)
This commit is contained in:
parent
a1e17968d1
commit
04df7f6e05
74 changed files with 603 additions and 529 deletions
|
@ -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(App $a, array &$b)
|
||||
{
|
||||
$b['bitchslap'] = ['bitchslapped', DI::l10n()->t('bitchslap'), DI::l10n()->t('bitchslapped')];
|
||||
$b['shag'] = ['shag', DI::l10n()->t('shag'), DI::l10n()->t('shagged')];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue