source: src/router/php7/Zend/tests/nullable_types/covariant_nullable_return_succeds.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 171 bytes
Line 
1--TEST--
2Nullable covariant return types
3
4--FILE--
5<?php
6
7interface A {
8    function method(): ?int;
9}
10
11interface B extends A {
12    function method(): int;
13}
14
15--EXPECT--
16
Note: See TracBrowser for help on using the repository browser.