From b0231e9a23ac385561cc0b00d9b973d3e311206d Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 7 Jul 2022 14:02:57 +0300 Subject: [PATCH] fix(core): fix namespaces --- src/core/Console/Commands/Sitemap/SitemapGenerateCommand.php | 1 + src/core/Sitemap.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/Console/Commands/Sitemap/SitemapGenerateCommand.php b/src/core/Console/Commands/Sitemap/SitemapGenerateCommand.php index 7561168..3cf66bf 100644 --- a/src/core/Console/Commands/Sitemap/SitemapGenerateCommand.php +++ b/src/core/Console/Commands/Sitemap/SitemapGenerateCommand.php @@ -25,6 +25,7 @@ use function Thermage\renderToString; use function Flextype\registry; use function Glowy\Filesystem\filesystem; +use function Glowy\Strings\strings; class SitemapGenerateCommand extends Command { diff --git a/src/core/Sitemap.php b/src/core/Sitemap.php index abc2909..05c28b3 100644 --- a/src/core/Sitemap.php +++ b/src/core/Sitemap.php @@ -5,7 +5,8 @@ use function Flextype\entries; use function Flextype\registry; use function Flextype\emitter; -use function Flextype\twig; +use function Flextype\Plugin\Twig\twig; +use function Glowy\Strings\strings; class Sitemap { public function fetch()