1
0
Fork 0

Fix: Use array_key_exists() instead of isset()

pull/6945/head
Andreas Möller 2017-12-27 19:49:32 +01:00
parent 79828f7543
commit de07f588c1
No known key found for this signature in database
GPG Key ID: 9FB20A0BAF60E11F
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ class JsonManipulator
{ {
$decoded = JsonFile::parseJson($this->contents); $decoded = JsonFile::parseJson($this->contents);
if (!isset($decoded[$key])) { if (!array_key_exists($key, $decoded)) {
return true; return true;
} }