Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 243 Bytes

AbstractMethodCall.md

File metadata and controls

17 lines (11 loc) · 243 Bytes

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.