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

240 B

InvalidExtendClass

Emitted when attempting to extend a final class or a class annotated with @final.

<?php

final class A {}

class B extends A {}

/**
 * @final
 */
class DoctrineA {}

class DoctrineB extends DoctrineA {}