mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +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();
|
|
}
|
|
}
|
|
```
|