Release of v3.2.2-beta5

Add option to use placeholders in Joomla Power namespaces.
This commit is contained in:
2024-07-19 12:35:06 +02:00
parent 49d2a0bdf4
commit 15a4678a59
7 changed files with 22 additions and 19 deletions

View File

@ -345,7 +345,9 @@ final class JoomlaPower implements PowerInterface
*/
private function setNamespaceAndType(string $guid, array $namespace): void
{
$this->active[$guid]->namespace = $namespace['namespace'];
$this->active[$guid]->namespace = $this->placeholder->update_(
$namespace['namespace']
);
$this->active[$guid]->type = $namespace['type'] ?? 'class';
}