1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 19:07:00 +01:00
psalm/docs/running_psalm/issues/InvalidExtendClass.md

19 lines
241 B
Markdown
Raw Normal View History

# 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 {}
```