Passed
Push — master ( 79907b...84d96f )
by Caen
04:31
created
framework/src/Framework/Features/XmlGenerators/SitemapGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function generate(): static
35 35
     {
36
-        Routes::all()->each(function (Route $route): void {
36
+        Routes::all()->each(function(Route $route): void {
37 37
             $this->addRoute($route);
38 38
         });
39 39
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $baseUrl = Config::getNullableString('hyde.url');
112 112
 
113
-        $canUseQualifiedUrl = filled($baseUrl) && ! str_starts_with($baseUrl, 'http://localhost');
113
+        $canUseQualifiedUrl = filled($baseUrl) && !str_starts_with($baseUrl, 'http://localhost');
114 114
 
115 115
         if ($canUseQualifiedUrl) {
116 116
             return Hyde::url($route->getOutputPath());
Please login to merge, or discard this patch.