From eaf0d9eb6a4f631ee143df45bf7e05552702d3b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 16 Aug 2023 11:41:07 +0200 Subject: [PATCH] Fix a typo in Psr4WildcardHint --- src/Config/Hint/Psr4WildcardHint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Hint/Psr4WildcardHint.php b/src/Config/Hint/Psr4WildcardHint.php index 9aded7f..16c2e16 100644 --- a/src/Config/Hint/Psr4WildcardHint.php +++ b/src/Config/Hint/Psr4WildcardHint.php @@ -85,7 +85,7 @@ private function getNamespace(string $pattern): string private function validateNamespace(string $pattern, string $namespace): void { if (strpos($namespace, "*") !== false) { - throw new ContainerException("'$pattern' is an invalid pattern: the namespace part can't contain the asteriks character (*)!"); + throw new ContainerException("'$pattern' is an invalid pattern: the namespace part can't contain the asterisk character (*)!"); } } }