Skip to content

Commit

Permalink
fix missing default value for param
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Mar 15, 2020
1 parent b81fc6c commit 615909d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Freq.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ private function validDate($t) {
* @param int $offset
* @return int
*/
public function findEndOfPeriod($offset) {
public function findEndOfPeriod($offset = 0) {
return $this->findStartingPoint($offset, 1, false);
}

Expand Down

0 comments on commit 615909d

Please sign in to comment.