aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/BookmarkInitializer.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/bookmark/BookmarkInitializer.php')
-rw-r--r--application/bookmark/BookmarkInitializer.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/bookmark/BookmarkInitializer.php b/application/bookmark/BookmarkInitializer.php
index 815047e3..04b996f3 100644
--- a/application/bookmark/BookmarkInitializer.php
+++ b/application/bookmark/BookmarkInitializer.php
@@ -1,5 +1,7 @@
1<?php 1<?php
2 2
3declare(strict_types=1);
4
3namespace Shaarli\Bookmark; 5namespace Shaarli\Bookmark;
4 6
5/** 7/**
@@ -23,7 +25,7 @@ class BookmarkInitializer
23 * 25 *
24 * @param BookmarkServiceInterface $bookmarkService 26 * @param BookmarkServiceInterface $bookmarkService
25 */ 27 */
26 public function __construct($bookmarkService) 28 public function __construct(BookmarkServiceInterface $bookmarkService)
27 { 29 {
28 $this->bookmarkService = $bookmarkService; 30 $this->bookmarkService = $bookmarkService;
29 } 31 }
@@ -31,7 +33,7 @@ class BookmarkInitializer
31 /** 33 /**
32 * Initialize the data store with default bookmarks 34 * Initialize the data store with default bookmarks
33 */ 35 */
34 public function initialize() 36 public function initialize(): void
35 { 37 {
36 $bookmark = new Bookmark(); 38 $bookmark = new Bookmark();
37 $bookmark->setTitle('quicksilver (loop) on Vimeo ' . t('(private bookmark with thumbnail demo)')); 39 $bookmark->setTitle('quicksilver (loop) on Vimeo ' . t('(private bookmark with thumbnail demo)'));