Skip to content

Commit

Permalink
fix(json): Fixing syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptiklemur committed Aug 13, 2019
1 parent 44697bb commit 82855d3
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 @@ -138,7 +138,7 @@ public function deleteSecret(Secret $secret, ?array $options = []): void
private function loadSecrets(): array
{
$contents = file_get_contents($this->secretsFile);
$json = json_decode($contents, true, 512, [JSON_THROW_ON_ERROR]);
$json = json_decode($contents, true, 512, JSON_THROW_ON_ERROR);

return array_map(
function (array $secret) {
Expand Down

0 comments on commit 82855d3

Please sign in to comment.