We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e555ff commit 512a907Copy full SHA for 512a907
1 file changed
tests/lib/Security/Signature/Rfc9421/AlgorithmTest.php
@@ -198,6 +198,7 @@ private static function coordinateSizeForCurve(string $curve): int {
198
return match ($curve) {
199
'P-256' => 32,
200
'P-384' => 48,
201
+ default => throw new \InvalidArgumentException('unsupported EC curve: ' . $curve),
202
};
203
}
204
0 commit comments