Fix typo in class name

This commit is contained in:
Joshua Ramon Enslin 2023-01-03 01:36:21 +01:00
parent be01725a6f
commit 23a5ff677e
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -9,7 +9,7 @@ declare(strict_types = 1);
/**
* Represents timing intervals for autogenerated exports etc.
*/
enum MDTimingInternal implements MDValueEnumInterface, JsonSerializable {
enum MDTimingInterval implements MDValueEnumInterface, JsonSerializable {
case weekly;
case monthly;
@ -20,9 +20,9 @@ enum MDTimingInternal implements MDValueEnumInterface, JsonSerializable {
*
* @param string $input Input to get a value from.
*
* @return MDTimingInternal
* @return MDTimingInterval
*/
public static function fromString(string $input):MDTimingInternal {
public static function fromString(string $input):MDTimingInterval {
return match($input) {
'weekly' => self::weekly,