We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a80a88a commit 8c789c9Copy full SHA for 8c789c9
src/Codeception/Module/Yii2.php
@@ -279,7 +279,7 @@ public function _initialize(): void
279
$this->server = $_SERVER;
280
// Adds the required server params. Note this is done separately from the request cycle since someone might call
281
// `Url::to` before doing a request, which would instantiate the request component with incorrect server params.
282
- $_SERVER = [...$_SERVER, $this->getServerParams()];
+ $_SERVER = [...$_SERVER, ...$this->getServerParams()];
283
}
284
285
/**
0 commit comments