Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrtashjian committed Nov 24, 2024
1 parent dc53c69 commit 53677bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Plugin/PluginServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function ( $post ) {
}
echo '</dd>';
} else {
echo '<dd>' . esc_html( $value ?: '(Empty)' ) . '</dd>';
echo '<dd>' . esc_html( $value ? $value : '(Empty)' ) . '</dd>';
}
}

Expand Down
10 changes: 10 additions & 0 deletions includes/Plugin/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ public function set_fields( $fields ) {
$this->fields = $fields;
}

/**
* Get the fields.
*
* @return array An array of fields.
*/
public function get_fields() {
return $this->fields;
}
Expand All @@ -96,6 +101,11 @@ public function set_groups( $groups ) {
$this->groups = $groups;
}

/**
* Get the groups.
*
* @return array An array of groups.
*/
public function get_groups() {
return $this->groups;
}
Expand Down

0 comments on commit 53677bc

Please sign in to comment.