Closed duncan412 closed 3 years ago
Before passing it to the method_exists, we should check if model name is not null. Prior to PHP 8, this resulted in a PHP warning, but now throws an Exception.
Ah, I see @nilshoerrmann just beat me to it.
Close in favour of the #48. Thanks for your contribution.
Before passing it to the method_exists, we should check if model name is not null. Prior to PHP 8, this resulted in a PHP warning, but now throws an Exception.