@@ -387,6 +387,12 @@ discard block |
||
| 387 | 387 | return $diff->build(); |
| 388 | 388 | } |
| 389 | 389 | |
| 390 | + /** |
|
| 391 | + * @param string $oldText |
|
| 392 | + * @param string $newText |
|
| 393 | + * @param string $attribute |
|
| 394 | + * @param string $element |
|
| 395 | + */ |
|
| 390 | 396 | protected function diffElementsByAttribute($oldText, $newText, $attribute, $element) |
| 391 | 397 | { |
| 392 | 398 | $oldAttribute = $this->getAttributeFromTag($oldText, $attribute); |
@@ -662,7 +668,7 @@ discard block |
||
| 662 | 668 | /** |
| 663 | 669 | * @param string $item |
| 664 | 670 | * |
| 665 | - * @return bool |
|
| 671 | + * @return integer |
|
| 666 | 672 | */ |
| 667 | 673 | protected function isOpeningTag($item) |
| 668 | 674 | { |
@@ -672,7 +678,7 @@ discard block |
||
| 672 | 678 | /** |
| 673 | 679 | * @param string $item |
| 674 | 680 | * |
| 675 | - * @return bool |
|
| 681 | + * @return integer |
|
| 676 | 682 | */ |
| 677 | 683 | protected function isClosingTag($item) |
| 678 | 684 | { |