Skip to content

Commit

Permalink
Consistent naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Nov 8, 2023
1 parent b989ca2 commit f81e6ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Flows/Flows.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ final class Flows {
),
),

'siteGen' => array(),
'sitegen' => array(),
);

/**
Expand Down Expand Up @@ -283,7 +283,7 @@ public static function get_flow_from_plan_subtype( $plan_subtype ) {
*/
public static function is_sitegen() {
$flow_data = FlowService::read_data_from_wp_option();
if ( ! ( $flow_data && empty( $flow_data['sitegen'] ) ) ) {
if ( ! $flow_data || empty( $flow_data['sitegen'] ) ) {
return false;
}

Expand Down

0 comments on commit f81e6ce

Please sign in to comment.