Skip to content

Commit e3672da

Browse files
committed
Add private visibility to the two new constants
1 parent e53d4f9 commit e3672da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WordPress/Sniffs/WP/GetMetaSingleSniff.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class GetMetaSingleSniff extends AbstractFunctionParameterSniff {
4343
*
4444
* @var array<string, array<string, int|string>>
4545
*/
46-
const GENERIC_META_FUNCTIONS_FORMAT = array(
46+
private const GENERIC_META_FUNCTIONS_FORMAT = array(
4747
'condition' => array(
4848
'param_name' => 'meta_key',
4949
'position' => 3,
@@ -64,7 +64,7 @@ final class GetMetaSingleSniff extends AbstractFunctionParameterSniff {
6464
*
6565
* @var array<string, array<string, int|string>>
6666
*/
67-
const SPECIFIC_META_FUNCTIONS_FORMAT = array(
67+
private const SPECIFIC_META_FUNCTIONS_FORMAT = array(
6868
'condition' => array(
6969
'param_name' => 'key',
7070
'position' => 2,

0 commit comments

Comments
 (0)