replaced the last remaining is_integer() call
This commit is contained in:
parent
ca0cf15360
commit
e64b75f7d3
@ -233,7 +233,7 @@ class Configuration implements ConfigurationInterface
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach ($urls as $i => $url) {
|
foreach ($urls as $i => $url) {
|
||||||
if (is_integer($i)) {
|
if (is_int($i)) {
|
||||||
if (0 === strpos($url, 'https://') || 0 === strpos($url, '//')) {
|
if (0 === strpos($url, 'https://') || 0 === strpos($url, '//')) {
|
||||||
$urls['http'][] = $urls['ssl'][] = $url;
|
$urls['http'][] = $urls['ssl'][] = $url;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user