Explicitly declare property visibility, remove use of var
Codesniffer says that the `var` keyword must not be used to declare a property and that visibility must be declared on class properties. Change-Id: I28240aa0f394588b1df315621dbcd260c51430c1
This commit is contained in:
parent
9359cfffd4
commit
d6def861bf
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
class HtmlAutoCompleteSelectFieldTest extends MediaWikiTestCase {
|
||||
|
||||
var $options = array(
|
||||
public $options = array(
|
||||
'Bulgaria' => 'BGR',
|
||||
'Burkina Faso' => 'BFA',
|
||||
'Burundi' => 'BDI',
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class ExtensionProcessorTest extends MediaWikiTestCase {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
static $default = array(
|
||||
public static $default = array(
|
||||
'name' => 'FooBar',
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue