Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/coding-standards' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Helper/HeadStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ public function itemToString(stdClass $item, $indent)
}
}

$escapeStart = $indent . '<!--'. PHP_EOL;
$escapeEnd = $indent . '-->'. PHP_EOL;
$escapeStart = $indent . '<!--' . PHP_EOL;
$escapeEnd = $indent . '-->' . PHP_EOL;
if (isset($item->attributes['conditional'])
&& !empty($item->attributes['conditional'])
&& is_string($item->attributes['conditional'])
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ViewModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function getOptions()
public function getVariable($name, $default = null)
{
$name = (string)$name;
if (array_key_exists($name,$this->variables)) {
if (array_key_exists($name, $this->variables)) {
return $this->variables[$name];
} else {
return $default;
Expand Down
4 changes: 2 additions & 2 deletions src/Renderer/JsonRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function render($nameOrModel, $values = null)
}

if ($this->hasJsonpCallback()) {
$values = $this->jsonpCallback.'('.$values.');';
$values = $this->jsonpCallback . '(' . $values . ');';
}
return $values;
}
Expand All @@ -160,7 +160,7 @@ public function render($nameOrModel, $values = null)
}

if ($this->hasJsonpCallback()) {
$return = $this->jsonpCallback.'('.$return.');';
$return = $this->jsonpCallback . '(' . $return . ');';
}
return $return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ protected function renderChildren(Model $model)
if (!empty($capture)) {
if ($child->isAppend()) {
$oldResult=$model->{$capture};
$model->setVariable($capture, $oldResult.$result);
$model->setVariable($capture, $oldResult . $result);
} else {
$model->setVariable($capture, $result);
}
Expand Down

0 comments on commit f40a328

Please sign in to comment.