--TEST-- Invalid union type variance: Adding extra return type --FILE-- --EXPECTF-- Fatal error: Declaration of B::method(): int|float must be compatible with A::method(): int in %s on line %d