Merge pull request #11 from timw4mail/scrutinizer-patch-1
Scrutinizer Auto-Fixes
This commit is contained in:
commit
6b9be7e4d0
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user