We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede58d8 commit 6e147e0Copy full SHA for 6e147e0
src/EventSubscriber/UpdateProductSubscriber.php
@@ -92,7 +92,7 @@ public function dispatch(): void
92
products: $this->products,
93
triggeredBy: sprintf(
94
'The update/creation of the following products: "%s"',
95
- implode('", "', array_map(static fn (ProductInterface $product): string => (string) ($product->getName() ?? $product->getCode()), $this->products)),
+ implode('", "', array_map(static fn (ProductInterface $product): string => (string) $product->getCode(), $this->products)),
96
),
97
));
98
0 commit comments