Skip to content
Snippets Groups Projects
Commit dd86e309 authored by Christel Loftus's avatar Christel Loftus
Browse files

phpstan errors

parent 6caf4255
Branches
Tags
1 merge request!6Rates at checkout
No preview for this file type
No preview for this file type
This diff is collapsed.
......@@ -39,7 +39,8 @@ class Generic implements OptionSourceInterface
{
$configData = $this->_shippingBobGo->getCode($this->_code);
$arr = [];
if ($configData) {
if (is_array($configData)) {
$arr = array_map(
function ($code, $title): array {
return [
......
......@@ -23,7 +23,7 @@
"registration.php"
],
"psr-4": {
"bobgo\\BobGo\\": ""
"BobGroup\\BobGo\\": "Model/Carrier/"
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment