X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=application%2FHistory.php;h=a58466528050e2efb4aee4dbccb59f3629e42041;hp=8074a0172c634912adf507bcd2236d8419cffe81;hb=a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392;hpb=8c0f19c7971e1a4534347ce9d6d82a0a45799711 diff --git a/application/History.php b/application/History.php index 8074a017..a5846652 100644 --- a/application/History.php +++ b/application/History.php @@ -3,7 +3,6 @@ namespace Shaarli; use DateTime; use Exception; -use FileUtils; /** * Class History @@ -71,7 +70,7 @@ class History * History constructor. * * @param string $historyFilePath History file path. - * @param int $retentionTime History content rentention time in seconds. + * @param int $retentionTime History content retention time in seconds. * * @throws Exception if something goes wrong. */ @@ -146,7 +145,7 @@ class History * Save a new event and write it in the history file. * * @param string $status Event key, should be defined as constant. - * @param mixed $id Event item identifier (e.g. link ID). + * @param mixed $id Event item identifier (e.g. link ID). */ protected function addEvent($status, $id = null) {