Skip to content

Commit adbfbf7

Browse files
committed
Dev: change the return type for the pager exception.
1 parent fbd6d94 commit adbfbf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Pager/Exceptions/PagerException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515

1616
class PagerException extends FrameworkException
1717
{
18-
public static function forInvalidTemplate(?string $template = null): PagerException
18+
public static function forInvalidTemplate(?string $template = null): self
1919
{
2020
return new static(lang('Pager.invalidTemplate', [$template]));
2121
}
2222

23-
public static function forInvalidPaginationGroup(?string $group = null): PagerException
23+
public static function forInvalidPaginationGroup(?string $group = null): self
2424
{
2525
return new static(lang('Pager.invalidPaginationGroup', [$group]));
2626
}

0 commit comments

Comments
 (0)