Skip to content

Commit 0ed38c5

Browse files
authored
Merge pull request #29 from iMattPro/tweaks
Code tweaks
2 parents 0c0764e + f69e5c6 commit 0ed38c5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

controller/admin_controller.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ class admin_controller
7878
* @param upload $upload
7979
* @param string $phpbb_root_path
8080
* @param string $relative_admin_path
81-
* @param string $phpEx
81+
* @param string $php_ext
8282
*/
83-
public function __construct(cache_driver $cache, config $config, db_driver $db, language $language, request $request, template $template, helper $helper, upload $upload, string $phpbb_root_path, string $relative_admin_path, string $phpEx)
83+
public function __construct(cache_driver $cache, config $config, db_driver $db, language $language, request $request,
84+
template $template, helper $helper, upload $upload, string $phpbb_root_path, string $relative_admin_path, string $php_ext)
8485
{
8586
$this->cache = $cache;
8687
$this->config = $config;
@@ -92,7 +93,7 @@ public function __construct(cache_driver $cache, config $config, db_driver $db,
9293
$this->template = $template;
9394
$this->phpbb_root_path = $phpbb_root_path;
9495
$this->phpbb_admin_path = $phpbb_root_path . $relative_admin_path;
95-
$this->php_ext = $phpEx;
96+
$this->php_ext = $php_ext;
9697

9798
$this->language->add_lang('acp/board');
9899
$this->language->add_lang('acp_pwa', 'phpbb/pwakit');

0 commit comments

Comments
 (0)