--TEST-- Invariant parameter and return types work with nullable types --FILE-- method(null)); var_dump($b->method(1)); --EXPECT-- NULL int(1)