diff --git a/src/ErrorCorrectionLevel.php b/src/ErrorCorrectionLevel.php index 8e8b4b9..a1042a8 100644 --- a/src/ErrorCorrectionLevel.php +++ b/src/ErrorCorrectionLevel.php @@ -34,6 +34,7 @@ public function toBaconErrorCorrectionLevel(): BaconErrorCorrectionLevel { $name = strtoupper(substr($this->getValue(), 0, 1)); + /** @psalm-suppress ImpureMethodCall */ return BaconErrorCorrectionLevel::valueOf($name); } }