1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 21:19:03 +01:00
psalm/docs/running_psalm/issues/AbstractMethodCall.md
2020-03-21 09:48:35 -04:00

18 lines
243 B
Markdown

# AbstractMethodCall
Emitted when an attempt is made to call an abstract static method directly
```php
<?php
abstract class Base {
abstract static function bar() : void;
}
Base::bar();
```
## Why this is bad
It's not allowed by PHP.