Skip to content

Commit

Permalink
slightly changed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
robclancy-test committed Jul 14, 2013
1 parent cc6dc1a commit 30d5a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Robbo/Presenter/View/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public function makePresentable($value)
return $value->getPresenter();
}

if (is_array($value) OR ($value instanceof IteratorAggregate AND $value instanceof ArrayAccess))
if (is_array($value) or ($value instanceof IteratorAggregate and $value instanceof ArrayAccess))
{
foreach ($value AS $k => $v)
foreach ($value as $k => $v)
{
$value[$k] = $this->makePresentable($v);
}
Expand Down

0 comments on commit 30d5a73

Please sign in to comment.