Skip to content

Commit 7752629

Browse files
committed
phpstan: remove explicit type hint of union return type
1 parent 4de27c0 commit 7752629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Service/iCalendar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function addEvent(
260260
string $eventTitle,
261261
string $eventDescription,
262262
bool $isTimeSpan = false
263-
): Event {
263+
) {
264264

265265
if ( is_array( $eventDate ) ) {
266266
if ( count( $eventDate ) < 2 || ! ( $eventDate[0] instanceof DateTimeImmutable ) || ! ( $eventDate[1] instanceof DateTimeImmutable ) || $eventDate[0] > $eventDate[1] ) {

0 commit comments

Comments
 (0)