Skip to content

Commit

Permalink
Update Pagination.php
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored Jun 8, 2024
1 parent cf7139c commit bab305e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/data/Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public function getTotalCount()
if (is_numeric($this->_totalCount)) {
return (int)$this->_totalCount;

Check warning on line 354 in framework/data/Pagination.php

View check run for this annotation

Codecov / codecov/patch

framework/data/Pagination.php#L354

Added line #L354 was not covered by tests
}
return (int)$this->_totalCount();
return (int)call_user_func($this->_totalCount);
}

/**
Expand Down

0 comments on commit bab305e

Please sign in to comment.