Skip to content

Commit

Permalink
Update Context.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eleven26 authored Dec 23, 2020
1 parent f683105 commit 8c39f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function add($key, $value, $k = null)
{
$results = $this->getArray($key);

if ($k !== null) {
if ($k === null) {
$results[] = $value;
} else {
$results[$k] = $value;
Expand Down

0 comments on commit 8c39f3f

Please sign in to comment.