aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/controller
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-15 14:02:46 +0100
committerDavid King <imkingdavid@gmail.com>2013-03-15 09:18:14 -0400
commit076711d9a95e05083143b7ac4a589914a2e2b2ad (patch)
tree06182df5afc6b3e112171faac88925761be749d5 /phpBB/includes/controller
parent9259e635cacce34699115b909f256f9302ec3aaa (diff)
downloadforums-076711d9a95e05083143b7ac4a589914a2e2b2ad.tar
forums-076711d9a95e05083143b7ac4a589914a2e2b2ad.tar.gz
forums-076711d9a95e05083143b7ac4a589914a2e2b2ad.tar.bz2
forums-076711d9a95e05083143b7ac4a589914a2e2b2ad.tar.xz
forums-076711d9a95e05083143b7ac4a589914a2e2b2ad.zip
[ticket/11334] Use mocks instead of making parameters optional
PHPBB3-11334
Diffstat (limited to 'phpBB/includes/controller')
-rw-r--r--phpBB/includes/controller/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/controller/helper.php b/phpBB/includes/controller/helper.php
index 4c021849f4..1464267711 100644
--- a/phpBB/includes/controller/helper.php
+++ b/phpBB/includes/controller/helper.php
@@ -55,7 +55,7 @@ class phpbb_controller_helper
* @param string $phpbb_root_path phpBB root path
* @param string $php_ext PHP extension
*/
- public function __construct(phpbb_template $template = null, phpbb_user $user = null, $phpbb_root_path = './', $php_ext = '.php')
+ public function __construct(phpbb_template $template, phpbb_user $user, $phpbb_root_path, $php_ext)
{
$this->template = $template;
$this->user = $user;