Skip to content

Commit

Permalink
Prepare 5.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Nov 28, 2023
1 parent 78cd6c2 commit 1021964
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to `Period` will be documented in this file

## [Next] - TBD
## [5.3.0](https://github.com/thephpleague/period/compare/5.2.1...5.3.0) - 2023-11-28

### Added

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.35.1",
"phpstan/phpstan": "^1.10.39",
"phpstan/phpstan": "^1.10.45",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^10.4.1"
"phpstan/phpstan-strict-rules": "^1.5.2",
"phpunit/phpunit": "^10.4.2"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Period.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ public function isAfter(Period|DatePoint|DateTimeInterface|string $timeSlot): bo
$datePoint = self::filterDatePoint($timeSlot);

return $this->startDate > $datePoint
|| ($this->startDate == $datePoint && ! $this->bounds->isStartIncluded());
|| ($this->startDate == $datePoint && !$this->bounds->isStartIncluded());
}

/**
Expand Down

1 comment on commit 1021964

@maogou
Copy link
Contributor

@maogou maogou commented on 1021964 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

Please sign in to comment.