BackedEnum::from() can also throw TypeError

This commit is contained in:
Ondřej Mirtes 2023-12-21 14:57:21 +01:00 committed by Gleb Sieemshchikov
parent 92dda01179
commit 50172be1ab
1 changed files with 1 additions and 0 deletions

View File

@ -933,6 +933,7 @@ interface BackedEnum extends UnitEnum
* <code>ValueError</code>.
* @param int|string $value
* @throws ValueError
* @throws TypeError
* @return static
* @link https://www.php.net/manual/en/backedenum.from.php
*/