refactoring

This commit is contained in:
Milos Stojanovic
2019-06-14 12:46:45 +02:00
parent 667389ab1a
commit f6185c92ab
14 changed files with 1019 additions and 34 deletions

View File

@@ -189,7 +189,7 @@ class JsonFile implements Service, AuthInterface
protected function getUsers(): array
{
$users = json_decode(file_get_contents($this->file), true);
$users = json_decode((string) file_get_contents($this->file), true);
return is_array($users) ? $users : [];
}