mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
Changes
- renamed Widget::accounttypes() to Widget::accountTypes() - fixed type-hint the documentation was wrong
This commit is contained in:
parent
83cbe586ac
commit
5c0e8c62de
5 changed files with 6 additions and 6 deletions
|
@ -512,10 +512,10 @@ class Widget
|
|||
* The account type value is added as a parameter to the url
|
||||
*
|
||||
* @param string $base Basepath
|
||||
* @param int $accounttype Acount type
|
||||
* @param string $accounttype Account type
|
||||
* @return string
|
||||
*/
|
||||
public static function accounttypes(string $base, int $accounttype): string
|
||||
public static function accountTypes(string $base, string $accounttype): string
|
||||
{
|
||||
$accounts = [
|
||||
['ref' => 'person', 'name' => DI::l10n()->t('Persons')],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue