We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9bcdde commit d68de95Copy full SHA for d68de95
src/Traits/Helpers/PaginationHelpers.php
@@ -74,7 +74,7 @@ public function getPerPage(): int
74
75
public function getDefaultPerPage(): int
76
{
77
- return (in_array((int) $this->defaultPerPage, $this->getPerPageAccepted()) ? $this->defaultPerPage : ($this->getPerPageAccepted()[0] ?? 10));
+ return in_array((int) $this->defaultPerPage, $this->getPerPageAccepted()) ? $this->defaultPerPage : ($this->getPerPageAccepted()[0] ?? 10);
78
}
79
80
/**
0 commit comments