1--TEST--
2Nullable covariant return types
3--FILE--
4<?php
5
6interface A {
7    function method(): ?int;
8}
9
10interface B extends A {
11    function method(): int;
12}
13--EXPECT--
14