Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 185 Bytes

PossiblyNullOperand.md

File metadata and controls

11 lines (8 loc) · 185 Bytes

PossiblyNullOperand

Emitted when using a possibly null value as part of an operation (e.g. +, ., ^ etc.)

<?php

function foo(?int $a) : void {
    echo $a + 5;
}