From 593616fba8fca6227aa8d5b8876f3d6bec4b8838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Tam=C3=A1s?= Date: Mon, 9 Jun 2025 22:03:18 +0200 Subject: [PATCH] Fix message for the assertion The message of this exception must contain the value if the `$index`, not the `$value`. --- src/Auth/Process/EntityCategory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/Process/EntityCategory.php b/src/Auth/Process/EntityCategory.php index dcf96b4..82d8759 100644 --- a/src/Auth/Process/EntityCategory.php +++ b/src/Auth/Process/EntityCategory.php @@ -104,7 +104,7 @@ public function __construct(array $config, $reserved) Assert::string( $index, - "Unspecified allowed attributes for the '$value' category.", + "Identifier of a category must be a string. '$index' is set.", Error\ConfigurationError::class, );