1--TEST-- 2Missing interface method a object return type during inheritance 3--FILE-- 4<?php 5 6interface One { 7 public function a() : object; 8} 9 10interface Two extends One { 11 public function a(); 12} 13--EXPECTF-- 14Fatal error: Declaration of Two::a() must be compatible with One::a(): object in %s on line %d 15