Skip to content

Commit

Permalink
PHPstan warnings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed May 29, 2024
1 parent 0cb84a3 commit 9ef0d91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upload/admin/model/extension/currency/ecb.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public function refresh() {

$default = $this->config->get('config_currency');

if (!$default) {
return false;
}

$results = $this->model_localisation_currency->getCurrencies();

foreach ($results as $result) {
Expand Down
4 changes: 4 additions & 0 deletions upload/catalog/model/extension/currency/ecb.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public function refresh() {

$default = $this->config->get('config_currency');

if (!$default) {
return false;
}

$results = $this->model_localisation_currency->getCurrencies();

foreach ($results as $result) {
Expand Down

0 comments on commit 9ef0d91

Please sign in to comment.