Skip to content

Commit

Permalink
Removed: unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed May 22, 2024
1 parent e0bb937 commit a0772f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Admin/Settings/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,12 @@ class="w-6 h-8 text-yellow-400">
* @return array|mixed
*/
private function get_wizard_option_properties( $slug ) {
foreach ( $this->fields[ 'general' ] as $key => $group ) {
foreach ( $this->fields[ 'general' ] as $group ) {
if ( $group[ 'slug' ] === $slug ) {
return $group;
}

foreach ( $group[ 'fields' ] as $key => $field ) {
foreach ( $group[ 'fields' ] as $field ) {
if ( $field[ 'slug' ] === $slug ) {
return $field;
}
Expand Down

0 comments on commit a0772f1

Please sign in to comment.