mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +01:00
243 B
243 B
AbstractMethodCall
Emitted when an attempt is made to call an abstract static method directly
<?php
abstract class Base {
abstract static function bar() : void;
}
Base::bar();
Why this is bad
It's not allowed by PHP.