From 6d3ac29aeef9e1222ddcaeab066ca8325d147fee Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 21 Nov 2014 23:30:47 +0100 Subject: [PATCH] [ticket/13358] Use protected and public keywords where applicable PHPBB3-13358 --- phpBB/phpbb/file_downloader.php | 6 +++--- 1 file 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;