mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
ce39bab966
suggestion by @weirdan
241 B
241 B
InvalidExtendClass
Emitted when attempting to extends a final class or a class annotated with @final
.
<?php
final class A {}
class B extends A {}
/**
* @final
*/
class DoctrineA {}
class DoctrineB extends DoctrineA {}