mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16345] Small improvements
PHPBB3-16346
This commit is contained in:
@@ -18,6 +18,8 @@ use phpbb\language\language;
|
||||
/**
|
||||
* Responsible for holding all file relevant information, as well as doing file-specific operations.
|
||||
* The {@link fileupload fileupload class} can be used to upload several files, each of them being this object to operate further on.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
class filespec
|
||||
{
|
||||
@@ -84,10 +86,10 @@ class filespec
|
||||
/** @var string phpBB root path */
|
||||
protected $phpbb_root_path;
|
||||
|
||||
/** @var \phpbb\plupload\plupload The plupload object */
|
||||
/** @var \phpbb\plupload\plupload|null The plupload object */
|
||||
protected $plupload;
|
||||
|
||||
/** @var \phpbb\mimetype\guesser phpBB Mimetype guesser */
|
||||
/** @var \phpbb\mimetype\guesser|null phpBB Mimetype guesser */
|
||||
protected $mimetype_guesser;
|
||||
|
||||
/**
|
||||
@@ -98,8 +100,8 @@ class filespec
|
||||
* @param \bantu\IniGetWrapper\IniGetWrapper $php_ini ini_get() wrapper
|
||||
* @param \FastImageSize\FastImageSize $imagesize Imagesize class
|
||||
* @param string $phpbb_root_path phpBB root path
|
||||
* @param \phpbb\mimetype\guesser $mimetype_guesser Mime type guesser
|
||||
* @param \phpbb\plupload\plupload $plupload Plupload
|
||||
* @param \phpbb\mimetype\guesser|null $mimetype_guesser Mime type guesser
|
||||
* @param \phpbb\plupload\plupload|null $plupload Plupload
|
||||
*/
|
||||
public function __construct(\phpbb\filesystem\filesystem_interface $phpbb_filesystem, language $language, \bantu\IniGetWrapper\IniGetWrapper $php_ini, \FastImageSize\FastImageSize $imagesize, $phpbb_root_path, \phpbb\mimetype\guesser $mimetype_guesser = null, \phpbb\plupload\plupload $plupload = null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user