Skip to content

Commit

Permalink
Merge pull request #35 from ittweb/dev
Browse files Browse the repository at this point in the history
Fixed missing parameter in static factory
  • Loading branch information
marco-zanella committed Aug 30, 2021
2 parents 365d612 + 86b719d commit 98c9b6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DataMapper/Sql/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function __construct(
public static function fromConnection(Connection $connection): self {
return new Item(
$connection,
ImageLabel::fromConnection($connection),
ItemReader::fromConnection($connection),
new ItemGetTypeVisitor(),
new ItemIsProductVisitor(),
Expand Down

0 comments on commit 98c9b6f

Please sign in to comment.