Skip to content

Commit 28a6dd8

Browse files
committed
add changed attributes
1 parent edb2352 commit 28a6dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Events/Catalog/Products/ProductUpdatedToPublished.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
class ProductUpdatedToPublished
99
{
10-
public function __construct(public readonly int $productId)
10+
public function __construct(public readonly int $productId, public readonly array $changedAttributes = [])
1111
{
1212
}
1313
}

0 commit comments

Comments
 (0)