@@ -101,7 +101,7 @@ |
||
| 101 | 101 | * |
| 102 | 102 | * @param mixed $value |
| 103 | 103 | * |
| 104 | - * @return mixed |
|
| 104 | + * @return string |
|
| 105 | 105 | */ |
| 106 | 106 | protected function cast($value) |
| 107 | 107 | { |
@@ -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 | { |