Skip to content

Commit 7235326

Browse files
committed
Array in target_functions had no use, replaced with true
1 parent 51331e1 commit 7235326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/Sniffs/PHP/IniSetSniff.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class IniSetSniff extends AbstractFunctionParameterSniff {
3535
* );
3636
*/
3737
protected $target_functions = array(
38-
'ini_set' => array(),
39-
'ini_alter' => array(),
38+
'ini_set' => true,
39+
'ini_alter' => true,
4040
);
4141

4242
/**

0 commit comments

Comments
 (0)