diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-07 16:50:20 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-05-07 17:11:22 +0200 |
commit | 813849e5216cb87121e0f778a734575be6a36052 (patch) | |
tree | 45605ad43e3f751eba51d19f8c6955c3824e8d32 /application/FileUtils.php | |
parent | a4af59f47103a3f9c903eeddb1e30ab9cb7344f0 (diff) | |
download | Shaarli-813849e5216cb87121e0f778a734575be6a36052.tar.gz Shaarli-813849e5216cb87121e0f778a734575be6a36052.tar.zst Shaarli-813849e5216cb87121e0f778a734575be6a36052.zip |
Add history entries for API endpoint
CHANGED: datetime is now store as an object in history store file
Diffstat (limited to 'application/FileUtils.php')
-rw-r--r-- | application/FileUtils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/FileUtils.php b/application/FileUtils.php index b8ad8970..a167f642 100644 --- a/application/FileUtils.php +++ b/application/FileUtils.php | |||
@@ -26,7 +26,7 @@ class FileUtils | |||
26 | * The file will be created if it doesn't exist. | 26 | * The file will be created if it doesn't exist. |
27 | * | 27 | * |
28 | * @param string $file File path. | 28 | * @param string $file File path. |
29 | * @param string $content Content to write. | 29 | * @param mixed $content Content to write. |
30 | * | 30 | * |
31 | * @return int|bool Number of bytes written or false if it fails. | 31 | * @return int|bool Number of bytes written or false if it fails. |
32 | * | 32 | * |