Skip to content

Commit

Permalink
tweak: ignore caught error
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Feb 29, 2024
1 parent 951d9a3 commit f4cb357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BindableCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public function convertToKvp(object|array $object):array {
try {
$objectToExtract = $objectToExtract->$propName;
}
// @phpstan-ignore-next-line
catch(Error) {}
}
elseif(method_exists($objectToExtract, $bindFunc)) {
Expand Down

0 comments on commit f4cb357

Please sign in to comment.