Skip to content

Commit

Permalink
Optimize (#90)
Browse files Browse the repository at this point in the history
Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia committed Dec 14, 2022
1 parent 260d0b0 commit 2a13889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TinkerCaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
*/
namespace FriendsOfHyperf\Tinker;

use Exception;
use ReflectionException;
use ReflectionObject;
use Symfony\Component\VarDumper\Caster\Caster;
use Throwable;

class TinkerCaster
{
Expand Down Expand Up @@ -59,7 +59,7 @@ public static function castApplication($app)
if (! is_null($val)) {
$results[Caster::PREFIX_VIRTUAL . $property] = $val;
}
} catch (Exception) {
} catch (Throwable) {
}
}

Expand Down

0 comments on commit 2a13889

Please sign in to comment.