Skip to content

Commit

Permalink
fix: "clone" modifier removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 15, 2024
1 parent b010831 commit 01ddff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Module/WPGraphQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function parseRequestOptions( array $selected_options ) {
return $default_options;
}

$request_options = clone $default_options;
$request_options = $default_options;
foreach( $selected_options as $key => $value ) {
if ( in_array( $key, [ 'headers', 'suppress_mod_token' ] ) ) {
continue;
Expand Down

0 comments on commit 01ddff4

Please sign in to comment.