Skip to content

Commit

Permalink
Allow null value for findRevisionHistory (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Apr 9, 2021
1 parent f64330e commit 20d20a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/AuditReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,12 @@ public function find($className, $id, $revision, array $options = [])
}

/**
* NEXT_MAJOR: Change the default value to `null`.
*
* Return a list of all revisions.
*
* @param int $limit
* @param int $offset
* @param int|null $limit
* @param int|null $offset
*
* @throws Exception
*
Expand Down

0 comments on commit 20d20a3

Please sign in to comment.