NullReference# Emitted when attempting to call a method on null <?php $a = null; $a->foo(); Further resources# CWE-476 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