Skip to content

Commit

Permalink
Fix php-cs (missing spaces)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazybobcat committed Jul 26, 2015
1 parent 1db3b0f commit cd31676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/View/ViewBlock.php
Expand Up @@ -108,10 +108,10 @@ public function end()
return;
}
if (!empty($this->_active)) {
$mode = end($this->_active);
$mode = end($this->_active);
$active = key($this->_active);
$content = ob_get_clean();
if($mode === ViewBlock::OVERRIDE) {
if ($mode === ViewBlock::OVERRIDE) {
$this->_blocks[$active] = $content;
} else {
$this->concat($active, $content, $mode);
Expand All @@ -136,7 +136,7 @@ public function end()
*/
public function concat($name, $value = null, $mode = ViewBlock::APPEND)
{
if($value === null) {
if ($value === null) {
$this->start($name, $mode);
return;
}
Expand Down

0 comments on commit cd31676

Please sign in to comment.