From 7857a31307a6f7bbf6667f2c36a58b56a7c1532c Mon Sep 17 00:00:00 2001 From: Alec Geatches Date: Fri, 24 May 2024 13:34:42 -0600 Subject: [PATCH] Fix phpcs errors --- edit_flow.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/edit_flow.php b/edit_flow.php index 0db7aa35..f2c92c45 100644 --- a/edit_flow.php +++ b/edit_flow.php @@ -59,8 +59,8 @@ function _ef_print_php_version_admin_notice() { class edit_flow { // Unique identified added as a prefix to all options - var $options_group = 'edit_flow_'; - var $options_group_name = 'edit_flow_options'; + public $options_group = 'edit_flow_'; + public $options_group_name = 'edit_flow_options'; /** * @var EditFlow The one true EditFlow @@ -220,7 +220,7 @@ function action_init() { // Load all of the modules that are enabled. // Modules won't have an options value if they aren't enabled foreach ( $this->modules as $mod_name => $mod_data ) { - if ( isset( $mod_data->options->enabled ) && $mod_data->options->enabled == 'on' ) { + if ( isset( $mod_data->options->enabled ) && 'on' === $mod_data->options->enabled ) { $this->$mod_name->init(); } }