File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ final public function getOrdinal()
124
124
* Get an enum of the given value
125
125
*
126
126
* @param null|boolean|int|float|string $value
127
- * @return Enum
127
+ * @return static
128
128
* @throws InvalidArgumentException On an unknwon or invalid value
129
129
* @throws LogicException On ambiguous constant values
130
130
*/
@@ -152,7 +152,7 @@ final static public function get($value)
152
152
* Get an enum by the given name
153
153
*
154
154
* @param string $name The name to instantiate the enum by
155
- * @return Enum
155
+ * @return static
156
156
* @throws InvalidArgumentException On an invalid or unknown name
157
157
* @throws LogicException On ambiguous constant values
158
158
*/
@@ -176,7 +176,7 @@ final public static function getByName($name)
176
176
* Get an enum by the given ordinal number
177
177
*
178
178
* @param int $ordinal The ordinal number to instantiate the enum by
179
- * @return Enum
179
+ * @return static
180
180
* @throws InvalidArgumentException On an invalid ordinal number
181
181
* @throws LogicException On ambiguous constant values
182
182
*/
@@ -274,7 +274,7 @@ static private function detectConstants($class)
274
274
*
275
275
* @param string $method The name to instantiate the enum by (called as method)
276
276
* @param array $args There should be no arguments
277
- * @return Enum
277
+ * @return static
278
278
* @throws InvalidArgumentException On an invalid or unknown name
279
279
* @throws LogicException On ambiguous constant values
280
280
*/
You can’t perform that action at this time.
0 commit comments