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