mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
14 lines
170 B
Markdown
14 lines
170 B
Markdown
# ParentNotFound
|
|
|
|
Emitted when using `parent::` in a class without a parent class.
|
|
|
|
```php
|
|
<?php
|
|
|
|
class A {
|
|
public function foo() : void {
|
|
parent::foo();
|
|
}
|
|
}
|
|
```
|