Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 161 Bytes

InvalidParent.md

File metadata and controls

10 lines (8 loc) · 161 Bytes

InvalidParent

Emitted when a function return type is parent, but there's no parent class

<?php

class Foo {
    public function f(): parent {}
}