mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +01:00
11 lines
139 B
Markdown
11 lines
139 B
Markdown
# AbstractInstantiation
|
|
|
|
Emitted when an attempt is made to instantiate an abstract class:
|
|
|
|
```php
|
|
<?php
|
|
|
|
abstract class A {}
|
|
new A();
|
|
```
|