1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11930] Move path_helper in front of optional cache argument

Optional method arguments should be after any mandatory ones.

PHPBB3-11930
This commit is contained in:
Marc Alexander
2013-10-21 10:20:12 +02:00
parent 3f0ce78a25
commit d7bf50bc80
3 changed files with 7 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ abstract class driver implements \phpbb\avatar\driver\driver_interface
* @param string $php_ext PHP file extension
* @param \phpbb\cache\driver\driver_interface $cache Cache driver
*/
public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\cache\driver\driver_interface $cache = null, \phpbb\path_helper $path_helper)
public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\path_helper $path_helper, \phpbb\cache\driver\driver_interface $cache = null)
{
$this->config = $config;
$this->phpbb_root_path = $phpbb_root_path;