Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 4c0daa7

Browse files
author
Jonny Bull
committed
PHPCS fixes
1 parent 55270b9 commit 4c0daa7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

includes/acf/class-acf-filter.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class ACF_Filter extends ACF_Location {
3030
* @return void
3131
*/
3232
public function initialize(): void {
33-
$this->name = 'feature-flags';
34-
$this->label = __( 'Feature flags', 'flagpole' );
33+
$this->name = 'feature-flags';
34+
$this->label = __( 'Feature flags', 'flagpole' );
3535
$this->category = 'forms';
3636
}
3737

@@ -42,8 +42,8 @@ public function initialize(): void {
4242
* @return array List of all flag IDs and names.
4343
*/
4444
public function get_values( $rule ) {
45-
$flagpole_flags = Flagpole::init()->get_flags();
46-
$flagpole_values = [];
45+
$flagpole_flags = Flagpole::init()->get_flags();
46+
$flagpole_values = array();
4747

4848
foreach ( $flagpole_flags as $flagpole_flag ) {
4949
$flagpole_values[ $flagpole_flag->key ] = $flagpole_flag->name;
@@ -59,10 +59,10 @@ public function get_values( $rule ) {
5959
* @return array
6060
*/
6161
public static function get_operators( $rule ) {
62-
return [
62+
return array(
6363
'==' => __( 'is enabled', 'flagpole' ),
6464
'!=' => __( 'is not enabled', 'flagpole' ),
65-
];
65+
);
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)