]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/bookmark/BookmarkFilter.php
Process daily page through Slim controller
[github/shaarli/Shaarli.git] / application / bookmark / BookmarkFilter.php
index fd5566790447838e0b7566e09f12695ffe680b0f..797a36b8ecd54c34a7aaea1ac63d3db0c2496bc8 100644 (file)
@@ -436,7 +436,7 @@ class BookmarkFilter
             throw new Exception('Invalid date format');
         }
 
-        $filtered = array();
+        $filtered = [];
         foreach ($this->bookmarks as $key => $l) {
             if ($l->getCreated()->format('Ymd') == $day) {
                 $filtered[$key] = $l;