We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7efc33c commit 9bc8472Copy full SHA for 9bc8472
src/Tag/Factory/PrefixedTagFactory.php
@@ -19,8 +19,10 @@ public function __construct(
19
20
public function register(array|string $tags, FactoryInterface $delegate): void
21
{
22
- foreach ($this->prefixes as $prefix) {
23
- foreach ((array) $tags as $tag) {
+ foreach ((array) $tags as $tag) {
+ $this->delegate->register($tag, $delegate);
24
+
25
+ foreach ($this->prefixes as $prefix) {
26
$this->delegate->register($prefix . $tag, $delegate);
27
}
28
0 commit comments