Passed
Push — v3 ( 24031f...801cb0 )
by Andrew
33:44 queued 21:02
created
src/models/SitemapTemplate.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         $request = Craft::$app->getRequest();
111 111
         $metaBundle = Seomatic::$plugin->metaBundles->getMetaBundleBySourceHandle($type, $handle, $siteId);
112 112
         // If it doesn't exist, throw a 404
113
-        if ($metaBundle === null ) {
113
+        if ($metaBundle === null) {
114 114
             if ($request->isCpRequest || $request->isConsoleRequest) {
115 115
                 return '';
116 116
             }
@@ -196,11 +196,11 @@  discard block
 block discarded – undo
196 196
                 // Return an empty XML document
197 197
                 $lines[] = '<?xml version="1.0" encoding="UTF-8"?>';
198 198
                 $lines[] = '<?xml-stylesheet type="text/xsl" href="sitemap-empty.xsl"?>';
199
-                $lines[] = '<!-- ' . Craft::t('seomatic', 'This sitemap has not been generated yet.') . ' -->';
200
-                $lines[] = '<!-- ' . Craft::t('seomatic', 'If you are seeing this in local dev or an') . ' -->';
201
-                $lines[] = '<!-- ' . Craft::t('seomatic', 'environment with `devMode` on, caches only') . ' -->';
202
-                $lines[] = '<!-- ' . Craft::t('seomatic', 'last for 30 seconds in local dev, so it is') . ' -->';
203
-                $lines[] = '<!-- ' . Craft::t('seomatic', 'normal for the sitemap to not be cached.') . ' -->';
199
+                $lines[] = '<!-- '.Craft::t('seomatic', 'This sitemap has not been generated yet.').' -->';
200
+                $lines[] = '<!-- '.Craft::t('seomatic', 'If you are seeing this in local dev or an').' -->';
201
+                $lines[] = '<!-- '.Craft::t('seomatic', 'environment with `devMode` on, caches only').' -->';
202
+                $lines[] = '<!-- '.Craft::t('seomatic', 'last for 30 seconds in local dev, so it is').' -->';
203
+                $lines[] = '<!-- '.Craft::t('seomatic', 'normal for the sitemap to not be cached.').' -->';
204 204
                 $lines[] = '<urlset>';
205 205
                 $lines[] = '</urlset>';
206 206
             }
Please login to merge, or discard this patch.