Rename to all()

This commit is contained in:
Kennedy Tedesco
2023-08-08 16:36:20 -03:00
parent b13a5c829e
commit a3fdd17eb2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ class Color
/**
* @return array<string, array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string}>
*/
public static function colors(): array
public static function all(): array
{
return [
'slate' => static::Slate,
+1 -1
View File
@@ -74,6 +74,6 @@ test('get colors', function () {
$colors[strtolower($name)] = $color;
}
expect(Color::colors())
expect(Color::all())
->toBe($colors);
});