aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/file_downloader.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/file_downloader.php')
-rw-r--r--phpBB/phpbb/file_downloader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/file_downloader.php b/phpBB/phpbb/file_downloader.php
index 2a2b8dbab5..d717b394d5 100644
--- a/phpBB/phpbb/file_downloader.php
+++ b/phpBB/phpbb/file_downloader.php
@@ -16,10 +16,10 @@ namespace phpbb;
class file_downloader
{
/** @var string Error string */
- public $error_string = '';
+ protected $error_string = '';
/** @var int Error number */
- public $error_number = 0;
+ protected $error_number = 0;
/**
* Retrieve contents from remotely stored file
@@ -36,7 +36,7 @@ class file_downloader
* @throws \RuntimeException If data can't be retrieved and no error
* message is returned
*/
- function get($host, $directory, $filename, $port = 80, $timeout = 6)
+ public function get($host, $directory, $filename, $port = 80, $timeout = 6)
{
// Set default values for error variables
$this->error_number = 0;