Skip to content

Commit cd91dd8

Browse files
authored
Fix message for the assertion (#12)
The message of this exception must contain the value if the `$index`, not the `$value`.
1 parent 250b14d commit cd91dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/Process/EntityCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function __construct(array $config, $reserved)
104104

105105
Assert::string(
106106
$index,
107-
"Unspecified allowed attributes for the '$value' category.",
107+
"Identifier of a category must be a string. '$index' is set.",
108108
Error\ConfigurationError::class,
109109
);
110110

0 commit comments

Comments
 (0)