Skip to content

Commit

Permalink
v3.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmartens committed Jul 17, 2020
1 parent 9455b4c commit f794170
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Solspace Calendar Changelog

## 3.0.9 - 2020-07-17
### Fixed
- Fixed a bug where Calendar was no longer compatible with PHP 7.0.

## 3.0.8 - 2020-07-14
### Fixed
- Fixed a bug where saving events in some time formats would error about the Post Date.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "solspace/craft3-calendar",
"description": "The most reliable and powerful event management plugin for Craft.",
"version": "3.0.8",
"version": "3.0.9",
"type": "craft-plugin",
"authors": [
{
Expand Down
6 changes: 3 additions & 3 deletions src/Elements/Db/EventQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ private function cacheRecurringEvents(array $foundIds)
* @var Carbon $occurrenceStartDate
* @var Carbon $occurrenceEndDate
*/
[$occurrenceStartDate, $occurrenceEndDate] = DateHelper::getRelativeEventDates(
list($occurrenceStartDate, $occurrenceEndDate) = DateHelper::getRelativeEventDates(
$startDateCarbon,
$endDateCarbon,
$date
Expand Down Expand Up @@ -1139,7 +1139,7 @@ private function cacheRecurringEvents(array $foundIds)
* @var Carbon $occurrenceStartDate
* @var Carbon $occurrenceEndDate
*/
[$occurrenceStartDate, $occurrenceEndDate] = DateHelper::getRelativeEventDates(
list($occurrenceStartDate, $occurrenceEndDate) = DateHelper::getRelativeEventDates(
$startDateCarbon,
$endDateCarbon,
$occurrence
Expand Down Expand Up @@ -1306,7 +1306,7 @@ function ($data) {
* @var Carbon $date
* @var int $eventId
*/
foreach ($this->eventCache as [$date, $eventId]) {
foreach ($this->eventCache as list($date, $eventId)) {
if (!isset($eventsById[$eventId])) {
continue;
}
Expand Down

0 comments on commit f794170

Please sign in to comment.