InvalidCatch
March 20, 2020 ยท View on GitHub
Emitted when trying to catch a class/interface that doesn't extend Exception or implement Throwable
<?php
class A {}
try {
$worked = true;
}
catch (A $e) {}
March 20, 2020 ยท View on GitHub
Emitted when trying to catch a class/interface that doesn't extend Exception or implement Throwable
<?php
class A {}
try {
$worked = true;
}
catch (A $e) {}