Skip to content

Commit

Permalink
Add array push to replace += operator for multiple path element calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
N1ghteyes committed Oct 15, 2018
1 parent ad8f11c commit 06c48b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apicore/structure/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function addPathElement($path, $reset = FALSE){
if($reset){
$this->path = $elements;
} else {
$this->path += $elements;
array_push($this->path, $elements);
}
return $this;
}
Expand Down

0 comments on commit 06c48b8

Please sign in to comment.