Merge pull request #11 from timw4mail/scrutinizer-patch-1

Scrutinizer Auto-Fixes
This commit is contained in:
Timothy Warren 2016-01-04 11:16:15 -05:00
commit 6b9be7e4d0
3 changed files with 10 additions and 10 deletions

View File

@ -50,7 +50,7 @@ abstract class View {
* *
* @var boolean * @var boolean
*/ */
protected $hasRendered = false; protected $hasRendered = FALSE;
/** /**
* Constructor * Constructor
@ -81,7 +81,7 @@ abstract class View {
*/ */
public function __toString() public function __toString()
{ {
$this->hasRendered = true; $this->hasRendered = TRUE;
return $this->getOutput(); return $this->getOutput();
} }
@ -126,7 +126,7 @@ abstract class View {
*/ */
public function send() public function send()
{ {
$this->hasRendered = true; $this->hasRendered = TRUE;
$this->output(); $this->output();
} }