Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/Caxy/HtmlDiff/HtmlDiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ public function getInsertSpaceInReplace()
return $this->config->isInsertSpaceInReplace();
}

public function clearContent()
{
$this->content = '';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The $content property was actually moved from the HtmlDiff class to the new abstract class AbstractDiff (as of version 0.0.6).

So this should probably be added to the AbstractDiff instead.

Also, for code styling we follow the PSR-1 and PSR-2 standards (although a lot of the original code is not up to the standard yet). So if you could indent by 4 spaces instead of 2, that would be very helpful!

}

/**
* @return string
*/
Expand Down