Skip to content

Commit 7e5f930

Browse files
scottgraysonclaude
andcommitted
Fix PHPDoc return type on CreditCategory::badgeColor()
Color::hex() returns array<int, string> (shade palette), not array{int, int, int} (RGB tuple). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b8d693c commit 7e5f930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/CreditCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function hexColor(): string
6363
return self::COLORS[$this->color] ?? '#6b7280';
6464
}
6565

66-
/** @return array{int, int, int} */
66+
/** @return array<int, string> */
6767
public static function badgeColor(string $state): array
6868
{
6969
static $hexMap = null;

0 commit comments

Comments
 (0)