Skip to content

Commit

Permalink
Use function
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jan 30, 2022
1 parent cd32132 commit 854a341
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static function fetch(
if ($premixin_method_id->method_name === 'getcode'
&& $premixin_method_id->fq_class_name !== Exception::class
&& (
in_array(Throwable::class, $class_storage->class_implements)
$codebase->classImplements($premixin_method_id->fq_class_name, Throwable::class)
|| $codebase->interfaceExtends($premixin_method_id->fq_class_name, Throwable::class)
)
) {
Expand Down

0 comments on commit 854a341

Please sign in to comment.