fix endroid qr provider handleErrorCorrectionLevel signature

This commit is contained in:
Nicolas CARPi
2022-12-09 19:42:16 +01:00
parent db6256b5e8
commit f8ba3b234b
+1 -1
View File
@@ -71,7 +71,7 @@ class EndroidQrCodeProvider implements IQRCodeProvider
return $this->endroid4 ? new Color($r, $g, $b, 0) : array('r' => $r, 'g' => $g, 'b' => $b, 'a' => 0);
}
private function handleErrorCorrectionLevel(string $level): string
private function handleErrorCorrectionLevel(string $level): ErrorCorrectionLevel
{
switch ($level) {
case 'L':