MixedReturnStatement# Error at levels 1 only Default (2) Info Emitted when Psalm cannot determine the type of a given return statement <?php function foo() : int { return $GLOBALS['foo']; // emitted here } Get Psalm news by email News about Psalm, a few emails a month. You can unsubscribe at any time. Email Subscribe I accept the privacy policy