From: Jack Phoenix Date: Sat, 2 Apr 2011 14:48:22 +0000 (+0000) Subject: mark some public functions as such X-Git-Tag: 1.31.0-rc.0~31078 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=7afd378a4de02a27e78307711550e0e69c473a91;p=lhc%2Fweb%2Fwiklou.git mark some public functions as such --- diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index 898ac64a8a..1fed356161 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -452,9 +452,8 @@ abstract class File { * It would be unsafe to include private images, making public thumbnails inadvertently * * @return boolean Whether file exists in the repository and is includable. - * @public */ - function isVisible() { + public function isVisible() { return $this->exists(); } diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 660566e647..0a03f2f1a9 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -154,10 +154,8 @@ class Parser { /** * Constructor - * - * @public */ - function __construct( $conf = array() ) { + public function __construct( $conf = array() ) { $this->mConf = $conf; $this->mUrlProtocols = wfUrlProtocols(); $this->mExtLinkBracketedRegex = '/\[(\b(' . wfUrlProtocols() . ')'.