Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 185 Bytes

MixedReturnStatement.md

File metadata and controls

11 lines (8 loc) · 185 Bytes

MixedReturnStatement

Emitted when Psalm cannot determine the type of a given return statement

<?php

function foo() : int {
    return $GLOBALS['foo']; // emitted here
}