Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 162 Bytes

PossiblyNullFunctionCall.md

File metadata and controls

11 lines (8 loc) · 162 Bytes

PossiblyNullFunctionCall

Emitted when trying to call a function on a value that may be null

<?php

function foo(?callable $a) : void {
    $a();
}