diff --git a/branding/logo.afdesign b/branding/logo.afdesign index e5ee059..fe9c0f5 100644 Binary files a/branding/logo.afdesign and b/branding/logo.afdesign differ diff --git a/src/Traits/EnumProperties.php b/src/Traits/EnumProperties.php index c19c991..9eda92a 100644 --- a/src/Traits/EnumProperties.php +++ b/src/Traits/EnumProperties.php @@ -15,7 +15,7 @@ trait EnumProperties * * @param null|array $cases */ - protected static function dynamicList(string $method, ?array $cases = null, ?string $lang = null): array + public static function dynamicList(string $method, ?array $cases = null, ?string $lang = null): array { $cases ??= static::cases(); @@ -29,7 +29,7 @@ protected static function dynamicList(string $method, ?array $cases = null, ?str /** * Return as associative array [$key => $method() value]n on Backed Enum. */ - protected static function dynamicByKey(string $key, string $method, ?array $cases = null, ?string $lang = null): array + public static function dynamicByKey(string $key, string $method, ?array $cases = null, ?string $lang = null): array { if ($key === 'value' && ! is_subclass_of(static::class, BackedEnum::class)) { throw new NotBackedEnum(static::class); @@ -54,7 +54,7 @@ protected static function dynamicByKey(string $key, string $method, ?array $case * Return as associative array [name => $method() value] on Pure Enum * Return as associative array [value => $method() value] on Backed Enum. */ - protected static function dynamicAsSelect(string $method, ?array $cases = null, ?string $lang = null): array + public static function dynamicAsSelect(string $method, ?array $cases = null, ?string $lang = null): array { if (is_subclass_of(static::class, BackedEnum::class)) { return self::dynamicByKey('value', $method, $cases, $lang);