aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/controller
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-11 15:10:14 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-11 15:10:14 +0200
commit16cd1db59a3e089fd07b2b2a7586e32e73a780e9 (patch)
treeef4c0283dfb1d4c8b53ec4ab6dd9141af236774f /phpBB/phpbb/controller
parent197c801746b148e6bcf7b5824e9077c185bf4e5f (diff)
downloadforums-16cd1db59a3e089fd07b2b2a7586e32e73a780e9.tar
forums-16cd1db59a3e089fd07b2b2a7586e32e73a780e9.tar.gz
forums-16cd1db59a3e089fd07b2b2a7586e32e73a780e9.tar.bz2
forums-16cd1db59a3e089fd07b2b2a7586e32e73a780e9.tar.xz
forums-16cd1db59a3e089fd07b2b2a7586e32e73a780e9.zip
[ticket/12529] Move $phpbb_root_path to the end of the constructor
PHPBB3-12529
Diffstat (limited to 'phpBB/phpbb/controller')
-rw-r--r--phpBB/phpbb/controller/resolver.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/phpBB/phpbb/controller/resolver.php b/phpBB/phpbb/controller/resolver.php
index f4cebc5730..3010901024 100644
--- a/phpBB/phpbb/controller/resolver.php
+++ b/phpBB/phpbb/controller/resolver.php
@@ -33,7 +33,7 @@ class resolver implements ControllerResolverInterface
/**
* phpbb\template\template object
- * @var phpbb\template\template
+ * @var \phpbb\template\template
*/
protected $template;
@@ -48,9 +48,10 @@ class resolver implements ControllerResolverInterface
*
* @param \phpbb\user $user User Object
* @param ContainerInterface $container ContainerInterface object
+ * @param string $phpbb_root_path Relative path to phpBB root
* @param \phpbb\template\template $template
*/
- public function __construct(\phpbb\user $user, $phpbb_root_path, ContainerInterface $container, \phpbb\template\template $template = null)
+ public function __construct(\phpbb\user $user, ContainerInterface $container, $phpbb_root_path, \phpbb\template\template $template = null)
{
$this->user = $user;
$this->container = $container;
@@ -61,7 +62,7 @@ class resolver implements ControllerResolverInterface
/**
* Load a controller callable
*
- * @param Symfony\Component\HttpFoundation\Request $request Symfony Request object
+ * @param \Symfony\Component\HttpFoundation\Request $request Symfony Request object
* @return bool|Callable Callable or false
* @throws \phpbb\controller\exception
*/
@@ -116,7 +117,7 @@ class resolver implements ControllerResolverInterface
* and should match the parameters of the method you are using as your
* controller.
*
- * @param Symfony\Component\HttpFoundation\Request $request Symfony Request object
+ * @param \Symfony\Component\HttpFoundation\Request $request Symfony Request object
* @param mixed $controller A callable (controller class, method)
* @return bool False
* @throws \phpbb\controller\exception