]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove use of mixed type which is not available in PHP 7.4
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 31 Mar 2022 13:31:38 +0000 (15:31 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 2 May 2022 08:52:37 +0000 (10:52 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/dav/tests/integration/UserMigration/CalendarMigratorTest.php

index cf0b24e9a695ed9f1be2dd2a1c4e7e37787e1aa5..8c23a30e8794f9d9562e1dc05a265d96310ce9ae 100644 (file)
@@ -85,7 +85,7 @@ class CalendarMigratorTest extends TestCase {
                        fn (VObjectProperty $property) => $property->serialize(),
                        array_values(array_filter(
                                $vCalendar->children(),
-                               fn (mixed $child) => $child instanceof VObjectProperty,
+                               fn ($child) => $child instanceof VObjectProperty,
                        )),
                );
        }