X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FLicenses.php;h=54b779e152f4a334c6fcfe84597efac5d42abcad;hb=1bd2974bbe8f972681717fbaa553d9099efa2f46;hp=e3db5b416c6130e6c2a9bdc5212add6018fa02b3;hpb=2b3e945fd2c3aac81c69ca1564a70b39484f754b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Licenses.php b/includes/Licenses.php index e3db5b416c..54b779e152 100644 --- a/includes/Licenses.php +++ b/includes/Licenses.php @@ -28,31 +28,25 @@ * A License class for use on Special:Upload */ class Licenses extends HTMLFormField { - /** - * @var string - */ + /** @var string */ protected $msg; - /** - * @var array - */ + /** @var array */ protected $licenses = array(); - /** - * @var string - */ + /** @var string */ protected $html; /**#@-*/ /** - * Constructor - * * @param array $params */ public function __construct( $params ) { parent::__construct( $params ); - $this->msg = empty( $params['licenses'] ) ? wfMessage( 'licenses' )->inContentLanguage()->plain() : $params['licenses']; + $this->msg = empty( $params['licenses'] ) + ? wfMessage( 'licenses' )->inContentLanguage()->plain() + : $params['licenses']; $this->selected = null; $this->makeLicenses(); @@ -198,19 +192,13 @@ class Licenses extends HTMLFormField { * A License class for use on Special:Upload (represents a single type of license). */ class License { - /** - * @var string - */ - var $template; + /** @var string */ + public $template; - /** - * @var string - */ - var $text; + /** @var string */ + public $text; /** - * Constructor - * * @param string $str license name?? */ function __construct( $str ) {