Passed
Pull Request — master (#115)
by
unknown
02:18
created
lib/Caxy/HtmlDiff/HtmlDiff.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
         } elseif ($this->isImagePlaceholder($placeholder)) {
335 335
             return $this->diffElementsByAttribute($oldText, $newText, 'src', 'img');
336 336
         } elseif ($this->isPicturePlaceholder($placeholder)) {
337
-           return $this->diffPicture($oldText, $newText);
337
+            return $this->diffPicture($oldText, $newText);
338 338
         }
339 339
 
340 340
         return $this->diffElements($oldText, $newText, $stripWrappingTags);
@@ -403,13 +403,13 @@  discard block
 block discarded – undo
403 403
     protected function diffPicture($oldText, $newText) {
404 404
         if ($oldText !== $newText) {
405 405
             return sprintf(
406
-              '%s%s',
406
+                '%s%s',
407 407
                 $this->wrapText($oldText, 'del', 'diffmod'),
408 408
                 $this->wrapText($newText, 'ins', 'diffmod')
409 409
             );
410 410
         }
411 411
         return $this->diffElements($oldText, $newText);
412
-  }
412
+    }
413 413
 
414 414
     protected function diffElementsByAttribute($oldText, $newText, $attribute, $element)
415 415
     {
Please login to merge, or discard this patch.