File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 44
55namespace Psalm \LaravelPlugin \Util ;
66
7- use Illuminate \Contracts \Container \BindingResolutionException ;
87use PhpParser \Node \Arg ;
98use Psalm \LaravelPlugin \Providers \ApplicationProvider ;
109use Psalm \NodeTypeProvider ;
1110use Psalm \Type \Atomic \TLiteralString ;
1211use Psalm \Type \Atomic \TNamedObject ;
1312use Psalm \Type \Union ;
14- use ReflectionException ;
1513
1614use function array_key_exists ;
1715use function class_exists ;
@@ -42,7 +40,7 @@ private static function resolveFromApplicationContainer(string $abstract): ?stri
4240 // dynamic analysis to resolve the actual type from the container
4341 try {
4442 $ concrete = ApplicationProvider::getApp ()->make ($ abstract );
45- } catch (BindingResolutionException | ReflectionException $ e ) {
43+ } catch (\ Throwable $ e ) {
4644 return null ;
4745 }
4846
You can’t perform that action at this time.
0 commit comments