working on JsonApi tests

This commit is contained in:
El RIDO
2019-05-08 22:11:21 +02:00
parent 76dc01b959
commit 59569bf9fc
10 changed files with 128 additions and 134 deletions

View File

@@ -62,7 +62,7 @@ class DataStore extends AbstractPersistence
*/
public static function get($filename)
{
return json_decode(substr(file_get_contents($filename), strlen(self::PROTECTION_LINE . PHP_EOL)));
return json_decode(substr(file_get_contents($filename), strlen(self::PROTECTION_LINE . PHP_EOL)), true);
}
/**