Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathroc authored Oct 11, 2024
1 parent 3773a76 commit de36f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Property/ICalendar/Recur.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static function stringToArray(string $value): array

$parts = explode('=', $part);

if (count($parts) !== 2) {
if (2 !== count($parts)) {
throw new InvalidDataException('The supplied iCalendar RRULE part is incorrect: '.$part);
}

Expand Down

0 comments on commit de36f61

Please sign in to comment.