diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:16:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 12:16:54 +0200 |
commit | cd2878edeeb1f28356c486c73a12af827b2d9f93 (patch) | |
tree | 0518028680da108dba684d37605130ffe036de1b /application | |
parent | f34554c6c2cd8fe99fe2e8907bfc196a4884416a (diff) | |
parent | 4b3aca66238f4ec31ab67c990fd388738e959289 (diff) | |
download | Shaarli-cd2878edeeb1f28356c486c73a12af827b2d9f93.tar.gz Shaarli-cd2878edeeb1f28356c486c73a12af827b2d9f93.tar.zst Shaarli-cd2878edeeb1f28356c486c73a12af827b2d9f93.zip |
Merge pull request #1592 from ArthurHoaro/fix/strict-type-daily
Strict types: fix an issue in daily where the date could be an int
Diffstat (limited to 'application')
-rw-r--r-- | application/bookmark/BookmarkFileService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/bookmark/BookmarkFileService.php b/application/bookmark/BookmarkFileService.php index 804b2520..eb7899bf 100644 --- a/application/bookmark/BookmarkFileService.php +++ b/application/bookmark/BookmarkFileService.php | |||
@@ -349,7 +349,7 @@ class BookmarkFileService implements BookmarkServiceInterface | |||
349 | $bookmarkDays = array_keys($bookmarkDays); | 349 | $bookmarkDays = array_keys($bookmarkDays); |
350 | sort($bookmarkDays); | 350 | sort($bookmarkDays); |
351 | 351 | ||
352 | return $bookmarkDays; | 352 | return array_map('strval', $bookmarkDays); |
353 | } | 353 | } |
354 | 354 | ||
355 | /** | 355 | /** |