aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-07-15 22:40:17 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:28:04 +0200
commit0a6f54d522f7799819969fcd588a354b7beb3fa9 (patch)
tree228d305b8bfe584694c8377709c4a92cd1bf3a9c /phpBB/phpbb/files
parent[ticket/13904] Fix remote upload functional tests (diff)
downloadphpbb-0a6f54d522f7799819969fcd588a354b7beb3fa9.tar.gz
phpbb-0a6f54d522f7799819969fcd588a354b7beb3fa9.tar.bz2
phpbb-0a6f54d522f7799819969fcd588a354b7beb3fa9.zip
[ticket/13904] Modify doc blocks
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/types/base.php10
-rw-r--r--phpBB/phpbb/files/types/remote.php3
2 files changed, 5 insertions, 8 deletions
diff --git a/phpBB/phpbb/files/types/base.php b/phpBB/phpbb/files/types/base.php
index 686ce6f695..77ebdb4f32 100644
--- a/phpBB/phpbb/files/types/base.php
+++ b/phpBB/phpbb/files/types/base.php
@@ -13,8 +13,6 @@
namespace phpbb\files\types;
-use \phpbb\files\filespec;
-use \phpbb\files\upload;
use \phpbb\language\language;
abstract class base implements type_interface
@@ -22,15 +20,15 @@ abstract class base implements type_interface
/** @var language */
protected $language;
- /** @var upload */
+ /** @var \phpbb\files\upload */
protected $upload;
/**
* Check if upload exceeds maximum file size
*
- * @param filespec $file Filespec object
+ * @param \phpbb\files\filespec $file Filespec object
*
- * @return filespec Returns same filespec instance
+ * @return \phpbb\files\filespec Returns same filespec instance
*/
public function check_upload_size($file)
{
@@ -57,7 +55,7 @@ abstract class base implements type_interface
/**
* {@inheritdoc}
*/
- public function set_upload(upload $upload)
+ public function set_upload(\phpbb\files\upload $upload)
{
$this->upload = $upload;
diff --git a/phpBB/phpbb/files/types/remote.php b/phpBB/phpbb/files/types/remote.php
index 04263f9cba..f2db6c798c 100644
--- a/phpBB/phpbb/files/types/remote.php
+++ b/phpBB/phpbb/files/types/remote.php
@@ -15,7 +15,6 @@ namespace phpbb\files\types;
use \phpbb\files\factory;
use \phpbb\files\filespec;
-use \phpbb\files\upload;
use \phpbb\language\language;
use \phpbb\request\request_interface;
@@ -30,7 +29,7 @@ class remote extends base
/** @var request_interface */
protected $request;
- /** @var upload */
+ /** @var \phpbb\files\upload */
protected $upload;
/**