Skip to content

Commit

Permalink
Merge pull request #16 from daaner/analysis-lKLEjd
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
daaner authored Oct 28, 2020
2 parents 03f9801 + 25477b1 commit 4ae3380
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Models/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public function getWarehouses($cityRef = null, $string = true)
$this->getTypeOfWarehouseRef();

if ($cityRef) {
if ($string) {
$this->methodProperties['CityName'] = $cityRef;
} else {
$this->methodProperties['CityRef'] = $cityRef;
}
if ($string) {
$this->methodProperties['CityName'] = $cityRef;
} else {
$this->methodProperties['CityRef'] = $cityRef;
}
}

return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties);
Expand Down

0 comments on commit 4ae3380

Please sign in to comment.