- A lot of bugfixes and fitting to accomodate ldap adapter
This commit is contained in:
1 parent
f14347f01d
commit
16d76470da
15 files changed
+350
-216
No files matched your search
@@ -23,7 +23,7 @@ trait SearchRequestPaginationTrait {
|
||||
|
||||
public function offset(): int
|
||||
{
|
||||
return abs( ( $this->page - 1 ) * $this->limit() );
|
||||
return (int) ( abs( ( $this->page - 1 ) * $this->limit() ) );
|
||||
}
|
||||
|
||||
public function pagination(int $page, int $itemCount) : void
|
||||
|
||||
Reference in new issue
Block a user