Skip to content

Commit 1fa5246

Browse files
committed
CS fix
1 parent 995626b commit 1fa5246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/Photon/Model/PhotonAddress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ final class PhotonAddress extends Address
6262
public function getLocality(): ?string
6363
{
6464
$locality = parent::getLocality();
65-
if ($locality === null && $this->type === 'city' && $this->name !== null) {
65+
if (null === $locality && 'city' === $this->type && null !== $this->name) {
6666
$locality = $this->name;
6767
}
6868

0 commit comments

Comments
 (0)