/**
* @inheritDoc
*/
- public function getOutstandingItemCount(/** @noinspection PhpUnusedParameterInspection */$objectID = null) {
+ public function getOutstandingItemCount($objectID = null) {
return ARTICLE_ENABLE_VISIT_TRACKING ? ViewableArticle::getUnreadArticles() : 0;
}
/**
* @inheritDoc
*/
- public function prepareOnlineLocation(/** @noinspection PhpUnusedParameterInspection */Page $page, UserOnline $user) {
+ public function prepareOnlineLocation(Page $page, UserOnline $user) {
if ($user->pageObjectID !== null) {
ViewableArticleContentRuntimeCache::getInstance()->cacheObjectID($user->pageObjectID);
}
* @param UserOnline $user user online object with request data
* @see IOnlineLocationPageHandler::prepareOnlineLocation()
*/
- public function prepareOnlineLocation(/** @noinspection PhpUnusedParameterInspection */Page $page, UserOnline $user) {
+ public function prepareOnlineLocation(Page $page, UserOnline $user) {
if ($user->pageObjectID !== null) {
UserRuntimeCache::getInstance()->cacheObjectID($user->pageObjectID);
}
/**
* @inheritDoc
*/
- public function getOutstandingItemCount(/** @noinspection PhpUnusedParameterInspection */$objectID = null) {
+ public function getOutstandingItemCount($objectID = null) {
return ViewableArticle::getUnreadArticles();
}
/**
* @inheritDoc
*/
- public function isVisible(/** @noinspection PhpUnusedParameterInspection */$objectID = null) {
+ public function isVisible($objectID = null) {
return ARTICLE_ENABLE_VISIT_TRACKING && !empty(ViewableArticle::getUnreadArticles());
}
}
/**
* @inheritDoc
*/
- public function getOutstandingItemCount(/** @noinspection PhpUnusedParameterInspection */$objectID = null) {
+ public function getOutstandingItemCount($objectID = null) {
return ARTICLE_ENABLE_VISIT_TRACKING ? ViewableArticle::getWatchedUnreadArticles() : 0;
}