Skip to content

Commit 29c960d

Browse files
authored
Update ValidFunctionNameSniff.php
change to old array syntax
1 parent 4d573b6 commit 29c960d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Joomla/Sniffs/NamingConventions/ValidFunctionNameSniff.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Joomla_Sniffs_NamingConventions_ValidFunctionNameSniff extends PEAR_Sniffs
2424
*
2525
* @var array
2626
*/
27-
protected $magicMethods = [
27+
protected $magicMethods = array(
2828
'construct' => true,
2929
'destruct' => true,
3030
'call' => true,
@@ -42,7 +42,7 @@ class Joomla_Sniffs_NamingConventions_ValidFunctionNameSniff extends PEAR_Sniffs
4242
'set_state' => true,
4343
'clone' => true,
4444
'debuginfo' => true,
45-
];
45+
);
4646

4747
/**
4848
* Processes the tokens within the scope.

0 commit comments

Comments
 (0)