Skip to content

Commit 701eb0a

Browse files
committed
fix
1 parent 590411b commit 701eb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/AbstractProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function getLogisticsCompanyAliases($company)
7171

7272
$index = \array_search($company, \array_column($companies, 'name'));
7373

74-
if ($index) {
74+
if ($index !== false) {
7575
return $companies[$index]['aliases'][\strtolower($this->getProviderName())];
7676
}
7777

0 commit comments

Comments
 (0)