1--TEST--
2Test that no notice is emitted when the return type/value of the overriding method is compatible with the tentative return type/value of the overridden method
3--FILE--
4<?php
5class MyDateTimeZone extends DateTimeZone
6{
7    public static function listIdentifiers(int $timezoneGroup = DateTimeZone::ALL, ?string $countryCode = null): array
8    {
9        return [];
10    }
11}
12
13var_dump(MyDateTimeZone::listIdentifiers());
14?>
15--EXPECT--
16array(0) {
17}
18