From 148f26592f3b3ce1df12106b77ed2f6e7e3daf43 Mon Sep 17 00:00:00 2001 From: JakeQZ Date: Mon, 27 Jan 2025 23:52:05 +0000 Subject: [PATCH] Correct typo in comment Co-authored-by: Oliver Klee --- src/Value/Color.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Value/Color.php b/src/Value/Color.php index c88dc06a..1c24492b 100644 --- a/src/Value/Color.php +++ b/src/Value/Color.php @@ -299,7 +299,7 @@ private function shouldRenderInModernSyntax(): bool $hasNumber = false; foreach ($this->aComponents as $key => $value) { if ($key === 'a') { - // ALpha can have units that don't match those of the RGB components in the "legacy" syntax. + // Alpha can have units that don't match those of the RGB components in the "legacy" syntax. // So it is not necessary to check it. It's also always last, hence `break` rather than `continue`. break; }