MIR0010
ParentNotFound
parent:: is used inside a class that does not extend any other class. There is no parent to
resolve the reference to.
Example
Section titled “Example”<?phpclass Foo { public function bar(): string { return parent::bar(); // Foo has no parent class }}How to fix
Section titled “How to fix”Add an extends clause to the class, or remove the parent:: call and implement the logic
directly.