diff --git a/src/TinkerCaster.php b/src/TinkerCaster.php index f607042..55b78d1 100644 --- a/src/TinkerCaster.php +++ b/src/TinkerCaster.php @@ -10,10 +10,10 @@ */ namespace FriendsOfHyperf\Tinker; -use Exception; use ReflectionException; use ReflectionObject; use Symfony\Component\VarDumper\Caster\Caster; +use Throwable; class TinkerCaster { @@ -59,7 +59,7 @@ public static function castApplication($app) if (! is_null($val)) { $results[Caster::PREFIX_VIRTUAL . $property] = $val; } - } catch (Exception) { + } catch (Throwable) { } }