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
|
@ -8,6 +8,7 @@
|
|||
* Status: Deprecated
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\DI;
|
||||
|
||||
|
@ -18,7 +19,7 @@ function morechoice_install() {
|
|||
Hook::register('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
|
||||
}
|
||||
|
||||
function morechoice_gender_selector($a,&$b) {
|
||||
function morechoice_gender_selector(App $a, array &$b) {
|
||||
$b['Androgyne'] = DI::l10n()->t('Androgyne');
|
||||
$b['Bear'] = DI::l10n()->t('Bear');
|
||||
$b['Bigender'] = DI::l10n()->t('Bigender');
|
||||
|
@ -44,7 +45,7 @@ function morechoice_gender_selector($a,&$b) {
|
|||
$b['Hard to tell these days'] = DI::l10n()->t('Hard to tell these days');
|
||||
}
|
||||
|
||||
function morechoice_sexpref_selector($a,&$b) {
|
||||
function morechoice_sexpref_selector(App $a, array &$b) {
|
||||
$b['Girls with big tits'] = DI::l10n()->t('Girls with big tits');
|
||||
$b['Millionaires'] = DI::l10n()->t('Millionaires');
|
||||
$b['Guys with big schlongs'] = DI::l10n()->t('Guys with big schlongs');
|
||||
|
@ -97,7 +98,7 @@ function morechoice_sexpref_selector($a,&$b) {
|
|||
$b['I\'d rather just have some chocolate'] = DI::l10n()->t('I\'d rather just have some chocolate');
|
||||
}
|
||||
|
||||
function morechoice_marital_selector($a,&$b) {
|
||||
function morechoice_marital_selector(App $a, array &$b) {
|
||||
$b['Married to my job'] = DI::l10n()->t('Married to my job');
|
||||
$b['Polygamist'] = DI::l10n()->t('Polygamist');
|
||||
$b['Half married'] = DI::l10n()->t('Half married');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue