PageResource fix deprecation
devhoussam1998 opened this issue · 0 comments
devhoussam1998 commented
getLabel()
is deprecated Use getModelLabel()
instead.
https://github.com/Z3d0X/filament-fabricator/blob/2.x/src/Resources/PageResource.php#L182
getPluralLabel()
is deprecated Use getPluralModelLabel()
instead.
https://github.com/Z3d0X/filament-fabricator/blob/2.x/src/Resources/PageResource.php#L187
Expected Update:
public static function getModelLabel(): string
{
return __('filament-fabricator::page-resource.labels.page');
}
public static function getPluralModelLabel(): string
{
return __('filament-fabricator::page-resource.labels.pages');
}