1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 18:48:03 +01:00
psalm/docs/running_psalm/issues/InvalidExtendClass.md
Daniel Schmelz 9c67b85f39
Fix typos
2022-08-20 23:29:03 +02:00

19 lines
240 B
Markdown

# InvalidExtendClass
Emitted when attempting to extend 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 {}
```