8000 fixed CS · symfony/symfony@1880bcf · GitHub
[go: up one dir, main page]

Skip to content

Commit 1880bcf

Browse files
committed
fixed CS
1 parent b31ebae commit 1880bcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/WebServerBundle/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CHANGELOG
44
3.4.0
55
-----
66

7-
* 'WebServer can now use '*' as a wildcard to bind to 0.0.0.0 (INADDR_ANY)
7+
* WebServer can now use '*' as a wildcard to bind to 0.0.0.0 (INADDR_ANY)
88

99
3.3.0
1010
-----

src/Symfony/Bundle/WebServerBundle/WebServerConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct($documentRoot, $env, $address = null, $router = null
5454
$this->port = $this->findBestPort();
5555
} elseif (false !== $pos = strrpos($address, ':')) {
5656
$this->hostname = substr($address, 0, $pos);
57-
if ($this->hostname == '*') {
57+
if ('*' === $this->hostname) {
5858
$this->hostname = '0.0.0.0';
5959
}
6060
$this->port = substr($address, $pos + 1);

0 commit comments

Comments
 (0)
0