We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a74ab commit f2903f0Copy full SHA for f2903f0
app/code/Magento/PageCache/Model/Cache/Server.php
@@ -71,7 +71,7 @@ public function getUris()
71
$servers[] = UriFactory::factory($this->urlBuilder->getUrl('*', ['_nosid' => true]));
72
}
73
74
- foreach ($servers as $key => $value) {
+ foreach (array_keys($servers) as $key) {
75
$servers[$key]->setScheme('http')
76
->setPath('/')
77
->setQuery(null);
app/code/Magento/PageCache/Test/Unit/Model/Cache/ServerTest.php
@@ -81,7 +81,7 @@ public function testGetUris(
81
82
83
84
- foreach ($uris as $key => $value) {
+ foreach (array_keys($uris) as $key) {
85
$uris[$key]->setScheme('http')
86
87
0 commit comments