@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * {@inheritdoc} |
57 | 57 | * |
58 | - * @return static The enum instance for given value |
|
58 | + * @return EnumInterface The enum instance for given value |
|
59 | 59 | */ |
60 | 60 | public static function get($value): EnumInterface |
61 | 61 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * |
80 | 80 | * @throws \BadMethodCallException On invalid constant name |
81 | 81 | * |
82 | - * @return static When $name is an existing constant for this enumeration type |
|
82 | + * @return EnumInterface When $name is an existing constant for this enumeration type |
|
83 | 83 | */ |
84 | 84 | public static function __callStatic($name, $arguments = []): EnumInterface |
85 | 85 | { |