Skip to content

Commit

Permalink
Merge pull request #1 from tm1000/patch-1
Browse files Browse the repository at this point in the history
Fix property call
  • Loading branch information
michalsn authored Mar 18, 2023
2 parents 7ce8581 + b1e6fe0 commit f48dfd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ protected function parseSuburb(string $address): string
}
else
{
$suburbs = array_merge($this->suburbs['QLD'], $this->suburbs['NSW'], $this->suburbs['NT'], $this->suburbs['SA'], $this->suburbs['TAS'], $this->suburbs['VIC'], $this->suburbs['WA'], $this->suburb['ACT']);
$suburbs = array_merge($this->suburbs['QLD'], $this->suburbs['NSW'], $this->suburbs['NT'], $this->suburbs['SA'], $this->suburbs['TAS'], $this->suburbs['VIC'], $this->suburbs['WA'], $this->suburbs['ACT']);
}

for ($i = 0; $i < count($suburbs); $i++)
Expand Down Expand Up @@ -465,4 +465,4 @@ protected function replaceLast(string $search, string $replace, string $subject)
return $subject;
}

}
}

0 comments on commit f48dfd1

Please sign in to comment.