Passed
Push — master ( d4ccc8...d959f5 )
by Paweł
01:24
created
src/Sitemap.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -553,9 +553,11 @@
 block discarded – undo
553 553
                     }
554 554
 
555 555
                     if ($filesInGroup >= self::ITEM_PER_SITEMAP ||
556
-                        $this->getXml()->getSitemapSize() >= (self::SITEMAP_MAX_SIZE - 20)) // 20 chars buffer for close tag
556
+                        $this->getXml()->getSitemapSize() >= (self::SITEMAP_MAX_SIZE - 20)) {
557
+                        // 20 chars buffer for close tag
557 558
                     {
558 559
                         $this->getXml()->closeSitemap();
560
+                    }
559 561
 
560 562
                         if (!$this->getDataCollector()->isLast($group)) {
561 563
                             $groupNo++;
Please login to merge, or discard this patch.