Fixes stati analysis

This commit is contained in:
Italo
2022-07-27 14:29:24 -04:00
committed by GitHub
parent 8277b1dd36
commit d18c9dcc5a
4 changed files with 7 additions and 3 deletions

View File

@@ -138,9 +138,9 @@ class CborDecoder
$val = static::parseExtraLength($val, $buf, $offset);
// @phpstan-ingnore-next-line
try {
return static::parseItemData($type, $val, $buf, $offset);
// @phpstan-ingnore-next-line
} catch (InvalidArgumentException $e) {
throw new DataException($e->getMessage());
}