Skip to content

Commit

Permalink
Merge pull request #103 from swapnilsarwe/master
Browse files Browse the repository at this point in the history
improved README by removing $ from bash script commands
  • Loading branch information
kylekatarnls authored Apr 17, 2019
2 parents 52aa0c1 + 8c2567f commit b6b141a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ $openingHours = OpeningHours::create([
$easterMonday = new DateTimeImmutable('2018-03-21 +'.(easter_days($year) + 1).'days');
if ($date->format('m-d') === $easterMonday->format('m-d')) {
return []; // Closed on Easter Monday
// Any valid exception-array can be returned here (range of hours, with or without data)
// Any valid exception-array can be returned here (range of hours, with or without data)
}
// Else the filter does not apply to the given date
},
Expand Down Expand Up @@ -239,7 +239,7 @@ $openingHours->forWeek();

#### `OpeningHours::forWeekCombined(): array`

Returns an array of days. Array key is first day with same hours, array values are days that have the same working hours and `OpeningHoursForDay` object.
Returns an array of days. Array key is first day with same hours, array values are days that have the same working hours and `OpeningHoursForDay` object.

```php
$openingHours->forWeekCombined();
Expand Down Expand Up @@ -352,7 +352,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed
## Testing

``` bash
$ composer test
composer test
```

## Contributing
Expand Down Expand Up @@ -380,7 +380,7 @@ We publish all received postcards [on our company website](https://spatie.be/en/

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).

Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

## License
Expand Down

0 comments on commit b6b141a

Please sign in to comment.