Skip to content
Snippets Groups Projects
Unverified Commit 425aa2ba authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix build.

The last version of psalm breaks with array_key_exists(), so we use isset() instead.
parent 3c3a8b58
No related branches found
No related tags found
No related merge requests found
...@@ -230,7 +230,7 @@ class Metadata ...@@ -230,7 +230,7 @@ class Metadata
continue; continue;
} }
if (array_key_exists('isDefault', $ep)) { if (isset($ep['isDefault'])) {
if ($ep['isDefault'] === true) { if ($ep['isDefault'] === true) {
// this is the first endpoint with isDefault set to true // this is the first endpoint with isDefault set to true
return $ep; return $ep;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment