Skip to content

Commit

Permalink
array_key_exists() expects parameter 2 to be array, null given in Con…
Browse files Browse the repository at this point in the history
…text.php line 76

Bugfix
array_key_exists() expects parameter 2 to be array, null given in Context.php line 76
  • Loading branch information
alupuleasa authored and stevenklar committed May 9, 2019
1 parent d105e24 commit 0cd2cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function getProperties()
*/
public function getProperty($key)
{
return array_key_exists($key, $this->properties) ? $this->properties[$key] : null;
return array_key_exists($key, $this->properties) ? $this->properties[$key] : [];
}

/**
Expand Down

0 comments on commit 0cd2cc6

Please sign in to comment.