From 7d8941bb6d00f2ca19d5a25e2311bb912058b859 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 18 Nov 2015 10:51:31 +0100 Subject: [PATCH] Updated phpDoc --- .../lib/system/request/RouteHandler.class.php | 1 - .../route/DynamicRequestRoute.class.php | 29 ++++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php index 3f9090d5f7..0a308b154a 100644 --- a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php @@ -108,7 +108,6 @@ class RouteHandler extends SingletonFactory { * Sets default routes. */ public function setDefaultRoutes() { - /** @var \wcf\system\request\route\DynamicRequestRoute $route */ $route = WCF::getDIContainer()->make(DynamicRequestRoute::class); $route->setIsACP(true); $this->addRoute($route); diff --git a/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php b/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php index add7f76379..389f37a475 100644 --- a/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php +++ b/wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php @@ -1,14 +1,23 @@ + * @package com.woltlab.wcf + * @subpackage system.request + * @category Community Framework + */ class DynamicRequestRoute implements IRequestRoute { /** - * @var \wcf\system\application\ApplicationHandler + * @var ApplicationHandler */ protected $applicationHandler; @@ -25,7 +34,7 @@ class DynamicRequestRoute implements IRequestRoute { protected $isACP = false; /** - * @var \wcf\system\menu\page\PageMenu; + * @var PageMenu; */ protected $pageMenu; @@ -42,7 +51,7 @@ class DynamicRequestRoute implements IRequestRoute { protected $primaryApplication = ''; /** - * @var \wcf\system\request\RequestHandler + * @var RequestHandler */ protected $requestHandler; @@ -59,17 +68,17 @@ class DynamicRequestRoute implements IRequestRoute { protected $routeData = []; /** - * @var \wcf\system\request\RouteHandler; + * @var RouteHandler; */ protected $routeHandler; /** * DynamicRequestRoute constructor. * - * @param \wcf\system\application\ApplicationHandler $applicationHandler - * @param \wcf\system\menu\page\PageMenu $pageMenu - * @param \wcf\system\request\RequestHandler $requestHandler - * @param \wcf\system\request\RouteHandler $routeHandler + * @param ApplicationHandler $applicationHandler + * @param PageMenu $pageMenu + * @param RequestHandler $requestHandler + * @param RouteHandler $routeHandler */ public function __construct(ApplicationHandler $applicationHandler, PageMenu $pageMenu, RequestHandler $requestHandler, RouteHandler $routeHandler) { $this->applicationHandler = $applicationHandler; @@ -102,7 +111,7 @@ class DynamicRequestRoute implements IRequestRoute { } /** - * {@inheritdoc} + * @see IRequestRoute::setIsACP() */ public function setIsACP($isACP) { $this->isACP = $isACP; -- 2.20.1