diff --git a/src/Adapter/Local/JSONFile/LocalJSONFileAdapter.php b/src/Adapter/Local/JSONFile/LocalJSONFileAdapter.php index 075a1e4..0496694 100644 --- a/src/Adapter/Local/JSONFile/LocalJSONFileAdapter.php +++ b/src/Adapter/Local/JSONFile/LocalJSONFileAdapter.php @@ -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 ); }