diff options
Diffstat (limited to 'application/feed')
-rw-r--r-- | application/feed/CachedPage.php | 1 | ||||
-rw-r--r-- | application/feed/FeedBuilder.php | 15 |
2 files changed, 9 insertions, 7 deletions
diff --git a/application/feed/CachedPage.php b/application/feed/CachedPage.php index 1c51ac73..d809bdd9 100644 --- a/application/feed/CachedPage.php +++ b/application/feed/CachedPage.php | |||
@@ -1,6 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Shaarli\Feed; | 3 | namespace Shaarli\Feed; |
4 | |||
4 | /** | 5 | /** |
5 | * Simple cache system, mainly for the RSS/ATOM feeds | 6 | * Simple cache system, mainly for the RSS/ATOM feeds |
6 | */ | 7 | */ |
diff --git a/application/feed/FeedBuilder.php b/application/feed/FeedBuilder.php index dcfd2c89..737a3128 100644 --- a/application/feed/FeedBuilder.php +++ b/application/feed/FeedBuilder.php | |||
@@ -2,7 +2,7 @@ | |||
2 | namespace Shaarli\Feed; | 2 | namespace Shaarli\Feed; |
3 | 3 | ||
4 | use DateTime; | 4 | use DateTime; |
5 | use LinkDB; | 5 | use Shaarli\Bookmark\LinkDB; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * FeedBuilder class. | 8 | * FeedBuilder class. |
@@ -32,7 +32,7 @@ class FeedBuilder | |||
32 | public static $DEFAULT_NB_LINKS = 50; | 32 | public static $DEFAULT_NB_LINKS = 50; |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * @var LinkDB instance. | 35 | * @var \Shaarli\Bookmark\LinkDB instance. |
36 | */ | 36 | */ |
37 | protected $linkDB; | 37 | protected $linkDB; |
38 | 38 | ||
@@ -79,11 +79,12 @@ class FeedBuilder | |||
79 | /** | 79 | /** |
80 | * Feed constructor. | 80 | * Feed constructor. |
81 | * | 81 | * |
82 | * @param LinkDB $linkDB LinkDB instance. | 82 | * @param \Shaarli\Bookmark\LinkDB $linkDB LinkDB instance. |
83 | * @param string $feedType Type of feed. | 83 | * @param string $feedType Type of feed. |
84 | * @param array $serverInfo $_SERVER. | 84 | * @param array $serverInfo $_SERVER. |
85 | * @param array $userInput $_GET. | 85 | * @param array $userInput $_GET. |
86 | * @param boolean $isLoggedIn True if the user is currently logged in, false otherwise. | 86 | * @param boolean $isLoggedIn True if the user is currently logged in, |
87 | * false otherwise. | ||
87 | */ | 88 | */ |
88 | public function __construct($linkDB, $feedType, $serverInfo, $userInput, $isLoggedIn) | 89 | public function __construct($linkDB, $feedType, $serverInfo, $userInput, $isLoggedIn) |
89 | { | 90 | { |