1
0
Fork 0

Add newline at the end of formatted jsons

pull/303/merge
Jordi Boggiano 2012-02-16 20:37:05 +01:00
parent 33fcb959ea
commit d1d9c715c9
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class JsonFile
);
}
}
file_put_contents($this->path, static::encode($hash, $options));
file_put_contents($this->path, static::encode($hash, $options). ($options & JSON_PRETTY_PRINT ? "\n" : ''));
}
/**