aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/config/default/container/services_files.yml4
-rw-r--r--phpBB/phpbb/files/filespec.php20
-rw-r--r--phpBB/phpbb/files/upload.php6
3 files changed, 11 insertions, 19 deletions
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml
index 7237c5d318..25cd532ae3 100644
--- a/phpBB/config/default/container/services_files.yml
+++ b/phpBB/config/default/container/services_files.yml
@@ -12,8 +12,8 @@ services:
scope: prototype
arguments:
- @filesystem
- - @php_ini
- @language
+ - @php_ini
- %core.root_path%
- @mimetype.guesser
- @plupload
@@ -24,8 +24,8 @@ services:
arguments:
- @filesystem
- @files.factory
- - @php_ini
- @language
+ - @php_ini
- @request
- %core.root_path%
diff --git a/phpBB/phpbb/files/filespec.php b/phpBB/phpbb/files/filespec.php
index 34d86116c2..48e12f23ef 100644
--- a/phpBB/phpbb/files/filespec.php
+++ b/phpBB/phpbb/files/filespec.php
@@ -69,9 +69,7 @@ class filespec
/** @var upload Instance of upload class */
public $upload;
- /**
- * @var \phpbb\filesystem\filesystem_interface
- */
+ /** @var \phpbb\filesystem\filesystem_interface */
protected $filesystem;
/** @var \phpbb\php\ini ini_get() wrapper class */
@@ -83,33 +81,27 @@ class filespec
/** @var string phpBB root path */
protected $phpbb_root_path;
- /**
- * The plupload object
- * @var \phpbb\plupload\plupload
- */
+ /** @var \phpbb\plupload\plupload The plupload object */
protected $plupload;
- /**
- * phpBB Mimetype guesser
- * @var \phpbb\mimetype\guesser
- */
+ /** @var \phpbb\mimetype\guesser phpBB Mimetype guesser */
protected $mimetype_guesser;
/**
* File upload class
*
* @param \phpbb\filesystem\filesystem_interface $phpbb_filesystem Filesystem
- * @param \phpbb\php\ini $php_ini ini_get() wrapper
* @param language $language Language
+ * @param \phpbb\php\ini $php_ini ini_get() wrapper
* @param string $phpbb_root_path phpBB root path
* @param \phpbb\mimetype\guesser $mimetype_guesser Mime type guesser
* @param \phpbb\plupload\plupload $plupload Plupload
*/
- public function __construct(\phpbb\filesystem\filesystem_interface $phpbb_filesystem, \phpbb\php\ini $php_ini, language $language, $phpbb_root_path, \phpbb\mimetype\guesser $mimetype_guesser = null, \phpbb\plupload\plupload $plupload = null)
+ public function __construct(\phpbb\filesystem\filesystem_interface $phpbb_filesystem, language $language, \phpbb\php\ini $php_ini, $phpbb_root_path, \phpbb\mimetype\guesser $mimetype_guesser = null, \phpbb\plupload\plupload $plupload = null)
{
$this->filesystem = $phpbb_filesystem;
- $this->php_ini = $php_ini;
$this->language = $language;
+ $this->php_ini = $php_ini;
$this->phpbb_root_path = $phpbb_root_path;
$this->plupload = $plupload;
$this->mimetype_guesser = $mimetype_guesser;
diff --git a/phpBB/phpbb/files/upload.php b/phpBB/phpbb/files/upload.php
index 35107ccb45..036f216d22 100644
--- a/phpBB/phpbb/files/upload.php
+++ b/phpBB/phpbb/files/upload.php
@@ -73,17 +73,17 @@ class upload
*
* @param filesystem_interface $filesystem
* @param factory $factory Files factory
- * @param \phpbb\php\ini $php_ini ini_get() wrapper
* @param language $language Language class
+ * @param \phpbb\php\ini $php_ini ini_get() wrapper
* @param request_interface $request Request class
* @param string $phpbb_root_path phpBB root path
*/
- public function __construct(filesystem_interface $filesystem, factory $factory, \phpbb\php\ini $php_ini, language $language, request_interface $request, $phpbb_root_path)
+ public function __construct(filesystem_interface $filesystem, factory $factory, language $language, \phpbb\php\ini $php_ini, request_interface $request, $phpbb_root_path)
{
$this->filesystem = $filesystem;
$this->factory = $factory;
- $this->php_ini = $php_ini;
$this->language = $language;
+ $this->php_ini = $php_ini;
$this->request = $request;
$this->phpbb_root_path = $phpbb_root_path;
}