Passed
Pull Request — master (#108)
by Sven
02:12
created
lib/Caxy/HtmlDiff/HtmlDiff.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -740,7 +740,7 @@  discard block
 block discarded – undo
740 740
         $space = $this->stringUtil->strpos($word, ' ', 1);
741 741
 
742 742
         if ($space > 0) {
743
-            return '<' . $this->stringUtil->substr($word, 1, $space) . '>';
743
+            return '<'.$this->stringUtil->substr($word, 1, $space).'>';
744 744
         }
745 745
 
746 746
         return trim($word, '<>');
@@ -757,7 +757,7 @@  discard block
 block discarded – undo
757 757
         for ($indexInOld = $startInOld; $indexInOld < $endInOld; ++$indexInOld) {
758 758
             $newMatchLengthAt = [];
759 759
 
760
-            $index = $this->oldWords[ $indexInOld ];
760
+            $index = $this->oldWords[$indexInOld];
761 761
 
762 762
             if ($this->isTag($index) === true) {
763 763
                 $index = $this->stripTagAttributes($index);
Please login to merge, or discard this patch.