Fixes static analysis

This commit is contained in:
Italo
2022-07-27 14:22:05 -04:00
committed by GitHub
parent 21db20d103
commit 8277b1dd36
15 changed files with 33 additions and 15 deletions

View File

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