Skip to content

Commit

Permalink
Fix setConstraints on business time factory
Browse files Browse the repository at this point in the history
  • Loading branch information
hughgrigg committed Aug 25, 2018
1 parent 86d18b9 commit 237ee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ For example:

```php
$factory = new BusinessTime\BusinessTimeFactory();
$factory->setBusinessTimeConstraints(
$factory->setConstraints(
new BusinessTime\Constraint\DaysOfWeek('Saturday', 'Sunday'),
new BusinessTime\Constraint\Dates('2018-12-25'),
);
Expand Down

0 comments on commit 237ee7f

Please sign in to comment.