- renamed Widget::accounttypes() to Widget::accountTypes()
- fixed type-hint the documentation was wrong
This commit is contained in:
Roland Häder 2022-06-30 14:49:51 +02:00
parent 83cbe586ac
commit 5c0e8c62de
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
5 changed files with 6 additions and 6 deletions

View file

@ -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')],