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

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files Browse the repository at this point in the history
…/++/+= 1 - s/--/-= 1
Ocramius committed Jan 3, 2015

Verified

This commit was signed with the committer’s verified signature.
frostming Frost Ming
1 parent c1b25b3 commit 3e79d42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Helper/PartialLoop.php
Original file line number Diff line number Diff line change
@@ -122,7 +122,8 @@ public function setObjectKey($key)
*/
protected function nestObjectKey()
{
$this->nestingLevel++;
$this->nestingLevel += 1;

$this->setObjectKey($this->getObjectKey());

return $this;
@@ -136,7 +137,8 @@ protected function nestObjectKey()
protected function unNestObjectKey()
{
$this->setObjectKey(null);
$this->nestingLevel--;

$this->nestingLevel -= 1;
$this->objectKey = $this->objectKeyStack[$this->nestingLevel];

return $this;

0 comments on commit 3e79d42

Please sign in to comment.