Fix typo in class name
This commit is contained in:
parent
be01725a6f
commit
23a5ff677e
|
@ -9,7 +9,7 @@ declare(strict_types = 1);
|
||||||
/**
|
/**
|
||||||
* Represents timing intervals for autogenerated exports etc.
|
* Represents timing intervals for autogenerated exports etc.
|
||||||
*/
|
*/
|
||||||
enum MDTimingInternal implements MDValueEnumInterface, JsonSerializable {
|
enum MDTimingInterval implements MDValueEnumInterface, JsonSerializable {
|
||||||
|
|
||||||
case weekly;
|
case weekly;
|
||||||
case monthly;
|
case monthly;
|
||||||
|
@ -20,9 +20,9 @@ enum MDTimingInternal implements MDValueEnumInterface, JsonSerializable {
|
||||||
*
|
*
|
||||||
* @param string $input Input to get a value from.
|
* @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) {
|
return match($input) {
|
||||||
'weekly' => self::weekly,
|
'weekly' => self::weekly,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user