Skip to content

Commit

Permalink
fix(json): Check metadata (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
deluxetom authored and cryptiklemur committed Aug 13, 2019
1 parent d095b13 commit 80ef20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/Local/JSONFile/LocalJSONFileAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function getSecret(string $key, ?array $options = []): Secret
return new Secret(
$secrets[$index]['key'],
$secrets[$index]['value'],
$secrets[$index]['metadata'],
$secrets[$index]['metadata'] ?? null
);
}

Expand Down

0 comments on commit 80ef20e

Please sign in to comment.