Skip to content

Commit

Permalink
Use strict comparision operator
Browse files Browse the repository at this point in the history
  • Loading branch information
mklkj committed Aug 31, 2017
1 parent a3fa0ee commit f3b7b29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public function parse() : array
->removeSpaces()
->get();

if ('powiat' == $description) {
if ('powiat' === $description) {
$counties['powiat'.$path] = 'Powiat '.$name;
}

if ('gmina miejska' == $description
|| 'gmina miejsko-wiejska' == $description
|| 'gmina wiejska' == $description) {
if ('gmina miejska' === $description
|| 'gmina miejsko-wiejska' === $description
|| 'gmina wiejska' === $description) {
$counties['gmina'.$path] = 'Gmina '.$this->upper($name);
}

Expand Down

0 comments on commit f3b7b29

Please sign in to comment.