Skip to content

Commit 8c789c9

Browse files
committed
fix: server params refactor broke format
1 parent a80a88a commit 8c789c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function _initialize(): void
279279
$this->server = $_SERVER;
280280
// Adds the required server params. Note this is done separately from the request cycle since someone might call
281281
// `Url::to` before doing a request, which would instantiate the request component with incorrect server params.
282-
$_SERVER = [...$_SERVER, $this->getServerParams()];
282+
$_SERVER = [...$_SERVER, ...$this->getServerParams()];
283283
}
284284

285285
/**

0 commit comments

Comments
 (0)