InvalidMethodCall

March 20, 2020 ยท View on GitHub

Emitted when attempting to call a method on a non-object

<?php

$a = 5;
$a->foo();