1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

Fix some self deprecation notices

This commit is contained in:
Yassine Guedidi 2025-01-18 23:56:06 +01:00
parent 5a8b581adf
commit 98ed784af3
47 changed files with 57 additions and 49 deletions

View file

@ -45,7 +45,7 @@ class ClientType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'client';
}

View file

@ -41,7 +41,7 @@ class ChangePasswordType extends AbstractType
;
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'change_passwd';
}

View file

@ -104,7 +104,7 @@ class ConfigType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'config';
}

View file

@ -44,7 +44,7 @@ class EditEntryType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'entry';
}

View file

@ -197,7 +197,7 @@ class EntryFilterType extends AbstractType
;
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'entry_filter';
}

View file

@ -30,7 +30,7 @@ class FeedType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'feed_config';
}

View file

@ -31,7 +31,7 @@ class IgnoreOriginInstanceRuleType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'ignore_origin_instance_rule';
}

View file

@ -31,7 +31,7 @@ class IgnoreOriginUserRuleType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'ignore_origin_user_rule';
}

View file

@ -28,7 +28,7 @@ class NewEntryType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'entry';
}

View file

@ -37,7 +37,7 @@ class NewTagType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'tag';
}

View file

@ -53,7 +53,7 @@ class NewUserType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'new_user';
}

View file

@ -29,7 +29,7 @@ class RenameTagType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'tag';
}

View file

@ -38,7 +38,7 @@ class SiteCredentialType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'site_credential';
}

View file

@ -22,7 +22,7 @@ class TaggingRuleImportType extends AbstractType
;
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'upload_tagging_rule_file';
}

View file

@ -40,7 +40,7 @@ class TaggingRuleType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'tagging_rule';
}

View file

@ -27,7 +27,7 @@ class UploadImportType extends AbstractType
;
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'upload_import_file';
}

View file

@ -30,7 +30,7 @@ class UserInformationType extends AbstractType
;
}
public function getParent()
public function getParent(): ?string
{
return RegistrationFormType::class;
}
@ -42,7 +42,7 @@ class UserInformationType extends AbstractType
]);
}
public function getBlockPrefix()
public function getBlockPrefix(): string
{
return 'update_user';
}