aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/file_downloader.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-11-21 23:30:47 +0100
committerMarc Alexander <admin@m-a-styles.de>2014-11-21 23:30:47 +0100
commit6d3ac29aeef9e1222ddcaeab066ca8325d147fee (patch)
treeefbae590ed1757d055a9ec438b669daf4e36d46e /phpBB/phpbb/file_downloader.php
parent171837eefe2f8e17597629b108e2aa30c0f4055f (diff)
downloadforums-6d3ac29aeef9e1222ddcaeab066ca8325d147fee.tar
forums-6d3ac29aeef9e1222ddcaeab066ca8325d147fee.tar.gz
forums-6d3ac29aeef9e1222ddcaeab066ca8325d147fee.tar.bz2
forums-6d3ac29aeef9e1222ddcaeab066ca8325d147fee.tar.xz
forums-6d3ac29aeef9e1222ddcaeab066ca8325d147fee.zip
[ticket/13358] Use protected and public keywords where applicable
PHPBB3-13358
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;