Fixed further inspection issues

This commit is contained in:
Jan Böhmer 2024-03-03 20:33:24 +01:00
parent 33e36f3d2b
commit 87533b6031
37 changed files with 46 additions and 71 deletions

View file

@ -162,10 +162,10 @@ class LogEntryRepository extends DBElementRepository
/**
* Gets the last log entries ordered by timestamp.
*
* @param int|null $limit
* @param int|null $offset
* @param int|null $limit
* @param int|null $offset
*/
public function getLogsOrderedByTimestamp(string $order = 'DESC', $limit = null, $offset = null): array
public function getLogsOrderedByTimestamp(string $order = 'DESC', int $limit = null, int $offset = null): array
{
return $this->findBy([], ['timestamp' => $order], $limit, $offset);
}