Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / page / handler / ArticleListPageHandler.class.php
index 9fab6b807b8848a09cf2f639df26407f5aad90f4..6c39b5cab70f4952df3e3ba859254cb5ab91f23a 100644 (file)
@@ -1,30 +1,35 @@
 <?php
+
 namespace wcf\system\page\handler;
+
 use wcf\data\article\category\ArticleCategory;
 use wcf\data\article\ViewableArticle;
 
 /**
  * Page handler implementation for the page showing the list of articles.
- * 
- * @author     Marcel Werk
- * @copyright  2001-2019 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    WoltLabSuite\Core\System\Page\Handler
- * @since      3.1
+ *
+ * @author  Marcel Werk
+ * @copyright   2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Page\Handler
+ * @since   3.1
  */
-class ArticleListPageHandler extends AbstractMenuPageHandler {
-       /**
-        * @inheritDoc
-        */
-       public function getOutstandingItemCount($objectID = null) {
-               return ARTICLE_ENABLE_VISIT_TRACKING ? ViewableArticle::getUnreadArticles() : 0;
-       }
-       
-       /**
-        * @inheritDoc
-        * @since       5.2
-        */
-       public function isVisible($objectID = null) {
-               return !empty(ArticleCategory::getAccessibleCategoryIDs());
-       }
+class ArticleListPageHandler extends AbstractMenuPageHandler
+{
+    /**
+     * @inheritDoc
+     */
+    public function getOutstandingItemCount($objectID = null)
+    {
+        return ARTICLE_ENABLE_VISIT_TRACKING ? ViewableArticle::getUnreadArticles() : 0;
+    }
+
+    /**
+     * @inheritDoc
+     * @since   5.2
+     */
+    public function isVisible($objectID = null)
+    {
+        return !empty(ArticleCategory::getAccessibleCategoryIDs());
+    }
 }