Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
elkuku committed Aug 12, 2014
1 parent 02d83ca commit 6714db7
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions src/App/Tracker/DiffRenderer/Html/Inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ class Inline extends ArrayRenderer
private $showHeader = true;

/**
* Render a and return diff with changes between the two sequences
* displayed inline (under each other)
* Render a and return diff with changes between the two sequences displayed inline (under each other).
*
* @return string The generated inline diff.
*
* @since 1.0
*/
public function render()
{
Expand Down Expand Up @@ -202,18 +203,34 @@ public function render()
}

/**
* @param boolean $showLineNumbers
* Set showLineNumbers.
*
* @param boolean $showLineNumbers Show the line numbers.
*
* @return $this
*
* @since 1.0
*/
public function setShowLineNumbers($showLineNumbers)
{
$this->showLineNumbers = (bool) $showLineNumbers;

return $this;
}

/**
* @param boolean $showHeader
* Set showHeader.
*
* @param boolean $showHeader Show the table header.
*
* @return $this
*
* @since 1.0
*/
public function setShowHeader($showHeader)
{
$this->showHeader = (bool) $showHeader;

return $this;
}
}

0 comments on commit 6714db7

Please sign in to comment.