1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 17:27:28 +01:00
psalm/docs/running_psalm/issues/InvalidExtendClass.md
Andrei Petre ce39bab966
Update InvalidExtendClass.md (#3616)
suggestion by @weirdan
2020-06-19 11:51:30 -04:00

19 lines
241 B
Markdown

# InvalidExtendClass
Emitted when attempting to extends a final class or a class annotated with `@final`.
```php
<?php
final class A {}
class B extends A {}
/**
* @final
*/
class DoctrineA {}
class DoctrineB extends DoctrineA {}
```