From: Siebrand Mazeland Date: Sat, 23 Nov 2013 21:24:34 +0000 (+0100) Subject: Set visibility on class properties of UnregisteredLocalFile X-Git-Tag: 1.31.0-rc.0~17795^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=28a795428da632d493813ca5c062b5ee9d4644fb;p=lhc%2Fweb%2Fwiklou.git Set visibility on class properties of UnregisteredLocalFile Change-Id: If1be1621ab161aa9d8704cba51e637e553195742 --- diff --git a/includes/filerepo/file/UnregisteredLocalFile.php b/includes/filerepo/file/UnregisteredLocalFile.php index e7fa46e241..6d0786dcad 100644 --- a/includes/filerepo/file/UnregisteredLocalFile.php +++ b/includes/filerepo/file/UnregisteredLocalFile.php @@ -27,19 +27,30 @@ * * Read-only. * - * TODO: Currently it doesn't really work in the repository role, there are + * @todo Currently it doesn't really work in the repository role, there are * lots of functions missing. It is used by the WebStore extension in the * standalone role. * * @ingroup FileAbstraction */ class UnregisteredLocalFile extends File { - var $title, $path, $mime, $dims, $metadata; + /** @var Title */ + protected $title; - /** - * @var MediaHandler - */ - var $handler; + /** @var string */ + protected $path; + + /** @var bool|string */ + protected $mime; + + /** @var array Dimension data */ + protected $dims; + + /** @var bool|string Handler-specific metadata which will be saved in the img_metadata field */ + protected $metadata; + + /** @var MediaHandler */ + public $handler; /** * @param string $path Storage path