Skip to content

Commit de36f61

Browse files
authoredOct 11, 2024··
.
1 parent 3773a76 commit de36f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/Property/ICalendar/Recur.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public static function stringToArray(string $value): array
192192

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.