We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 590411b commit 701eb0aCopy full SHA for 701eb0a
src/Providers/AbstractProvider.php
@@ -71,7 +71,7 @@ public function getLogisticsCompanyAliases($company)
71
72
$index = \array_search($company, \array_column($companies, 'name'));
73
74
- if ($index) {
+ if ($index !== false) {
75
return $companies[$index]['aliases'][\strtolower($this->getProviderName())];
76
}
77
0 commit comments