diff --git a/Core/Core_c.php b/Core/Core_c.php
index 2feddfd2a..59ab3bb15 100644
--- a/Core/Core_c.php
+++ b/Core/Core_c.php
@@ -1000,9 +1000,25 @@ interface StringBackedEnum extends BackedEnum
{
public readonly string $value;
+ /**
+ * Translates a string into the corresponding Enum
+ * case, if any. If there is no matching case defined, it will throw a
+ * ValueError
.
+ * @param string $value
+ * @return static
+ * @throws ValueError if there is no matching case defined
+ * @link https://www.php.net/manual/en/backedenum.from.php
+ */
#[Pure]
public static function from(string $value): static;
+ /**
+ * Translates a string or int into the corresponding Enum
+ * case, if any. If there is no matching case defined, it will return null.
+ * @param string $value
+ * @return static|null
+ * @link https://www.php.net/manual/en/backedenum.tryfrom.php
+ */
#[Pure]
public static function tryFrom(string $value): ?static;
}