mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Dev: change the return type for the pager exception.
This commit is contained in:
parent
fbd6d94a50
commit
adbfbf79c2
@ -15,12 +15,12 @@ use CodeIgniter\Exceptions\FrameworkException;
|
||||
|
||||
class PagerException extends FrameworkException
|
||||
{
|
||||
public static function forInvalidTemplate(?string $template = null): PagerException
|
||||
public static function forInvalidTemplate(?string $template = null): self
|
||||
{
|
||||
return new static(lang('Pager.invalidTemplate', [$template]));
|
||||
}
|
||||
|
||||
public static function forInvalidPaginationGroup(?string $group = null): PagerException
|
||||
public static function forInvalidPaginationGroup(?string $group = null): self
|
||||
{
|
||||
return new static(lang('Pager.invalidPaginationGroup', [$group]));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user