Skip to content

Commit

Permalink
Fixed namespaceMap accessor
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Apr 26, 2024
1 parent a047b74 commit 4b2a59f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Fixed namespaceMap accessor

## v0.3.0 (2024-04-26)
* Created Namespace Mapping system
* Removed Extensions
Expand Down
4 changes: 2 additions & 2 deletions src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function map(
string $namespace,
int $priority = 0
): void {
$this->namespaces->add($root, $namespace, $priority);
$this->getNamespaceMap()->add($root, $namespace, $priority);
}

/**
Expand All @@ -180,7 +180,7 @@ public function alias(
string $interface,
string $alias
): void {
$this->namespaces->addAlias($interface, $alias);
$this->getNamespaceMap()->addAlias($interface, $alias);
}


Expand Down

0 comments on commit 4b2a59f

Please sign in to comment.