Compare
a5f35d3
... +0 ...
5cb0508
a5f35d3
... +0 ...
5cb0508
Showing 2 of 2 files from the diff.
@@ -29,7 +29,7 @@
Loading
29 | 29 | { |
|
30 | 30 | try { |
|
31 | 31 | return Uuid::fromString($data); |
|
32 | - | } catch (\InvalidArgumentException $e) { |
|
32 | + | } catch (\InvalidArgumentException | \ValueError $e) { // catching ValueError will not be necessary anymore when https://github.com/symfony/symfony/pull/39636 will be released |
|
33 | 33 | throw new InvalidIdentifierException($e->getMessage(), $e->getCode(), $e); |
|
34 | 34 | } |
|
35 | 35 | } |
2 Commits
Files | Complexity | Coverage |
---|---|---|
src | ø | 82.68% |
Project Totals (371 files) | 5608 | 82.68% |
5cb0508
a5f35d3