replaced the last remaining is_integer() call

This commit is contained in:
Fabien Potencier 2015-03-07 08:38:33 +01:00
parent ca0cf15360
commit e64b75f7d3
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Configuration implements ConfigurationInterface
);
foreach ($urls as $i => $url) {
if (is_integer($i)) {
if (is_int($i)) {
if (0 === strpos($url, 'https://') || 0 === strpos($url, '//')) {
$urls['http'][] = $urls['ssl'][] = $url;
} else {