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:
parent
5a8b581adf
commit
98ed784af3
47 changed files with 57 additions and 49 deletions
|
@ -45,7 +45,7 @@ class ClientType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'client';
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ class ChangePasswordType extends AbstractType
|
|||
;
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'change_passwd';
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ class ConfigType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'config';
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class EditEntryType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'entry';
|
||||
}
|
||||
|
|
|
@ -197,7 +197,7 @@ class EntryFilterType extends AbstractType
|
|||
;
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'entry_filter';
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class FeedType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'feed_config';
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class IgnoreOriginInstanceRuleType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'ignore_origin_instance_rule';
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class IgnoreOriginUserRuleType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'ignore_origin_user_rule';
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class NewEntryType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'entry';
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class NewTagType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'tag';
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ class NewUserType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'new_user';
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ class RenameTagType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'tag';
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ class SiteCredentialType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'site_credential';
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ class TaggingRuleImportType extends AbstractType
|
|||
;
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'upload_tagging_rule_file';
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ class TaggingRuleType extends AbstractType
|
|||
]);
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'tagging_rule';
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ class UploadImportType extends AbstractType
|
|||
;
|
||||
}
|
||||
|
||||
public function getBlockPrefix()
|
||||
public function getBlockPrefix(): string
|
||||
{
|
||||
return 'upload_import_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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue