Skip to content

Commit

Permalink
CS: minor tweaks to comply with YoastCS 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 16, 2023
1 parent ad33bb5 commit 62be9c9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/domain-dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,3 @@ private function replace_domain( $domain, $url, $headers ) {
];
}
}

2 changes: 1 addition & 1 deletion src/downgrader.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ protected function downgrade( $target_version ) {
throw new Exception( \__( 'Could not install the requested version.', 'yoast-test-helper' ) );
}

$downgrade_version = static function( $option ) use ( $target_version ) {
$downgrade_version = static function ( $option ) use ( $target_version ) {
$option['version'] = \sanitize_text_field( $target_version );
return $option;
};
Expand Down
1 change: 0 additions & 1 deletion src/feature-toggler.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public function get_controls() {
return '';
}


$fields = '';

foreach ( $this->features as $feature => $label ) {
Expand Down

0 comments on commit 62be9c9

Please sign in to comment.