We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3122b8 commit 48e6df0Copy full SHA for 48e6df0
src/Services/AssistantService.php
@@ -58,7 +58,7 @@ public function getMeta(CartInterface $cart, ProductInterface $product): ?array
58
return array_merge($metaCart, $metaProduct);
59
}
60
61
- if (count($metaCart) > 0) {
+ if ($metaCart !== []) {
62
return $metaCart;
63
64
0 commit comments