InvalidParent# Error at levels All Emitted when a function return type is parent, but there's no parent class <?php class Foo { public function f(): parent {} } Get Psalm news by email News about Psalm, a few emails a month. You can unsubscribe at any time. Email Subscribe I accept the privacy policy