mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13358] Use protected and public keywords where applicable
PHPBB3-13358
This commit is contained in:
parent
171837eefe
commit
6d3ac29aee
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@ namespace phpbb;
|
||||||
class file_downloader
|
class file_downloader
|
||||||
{
|
{
|
||||||
/** @var string Error string */
|
/** @var string Error string */
|
||||||
public $error_string = '';
|
protected $error_string = '';
|
||||||
|
|
||||||
/** @var int Error number */
|
/** @var int Error number */
|
||||||
public $error_number = 0;
|
protected $error_number = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve contents from remotely stored file
|
* Retrieve contents from remotely stored file
|
||||||
|
@ -36,7 +36,7 @@ class file_downloader
|
||||||
* @throws \RuntimeException If data can't be retrieved and no error
|
* @throws \RuntimeException If data can't be retrieved and no error
|
||||||
* message is returned
|
* 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
|
// Set default values for error variables
|
||||||
$this->error_number = 0;
|
$this->error_number = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue