1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13904] Set properties to protected where possible in filespec

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-09-13 09:30:56 +02:00
parent 40e614f564
commit 759dc9bb84
4 changed files with 27 additions and 18 deletions

View File

@@ -34,10 +34,10 @@ class filespec
protected $mimetype = '';
/** @var string File extension */
public $extension = '';
protected $extension = '';
/** @var int File size */
public $filesize = 0;
protected $filesize = 0;
/** @var int Width of file */
protected $width = 0;
@@ -55,10 +55,10 @@ class filespec
protected $destination_path = '';
/** @var bool Whether file was moved */
public $file_moved = false;
protected $file_moved = false;
/** @var bool Whether file is local */
public $local = false;
protected $local = false;
/** @var bool Class initialization flag */
protected $class_initialized = false;