Skip to content

Commit

Permalink
(Facade): Add comment into complex method example
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielanhaia committed Apr 24, 2021
1 parent 8bcb2b2 commit 327ae1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/Facade/Component/ProductRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function persist(Product $product): void

public function update(Product $product): void
{
// It could update into the database here.
echo $product->getName() . " updated.\n";
}
}
1 change: 0 additions & 1 deletion src/Facade/ProductFlowFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
class ProductFlowFacade
{
private ProductRepository $productRepository;

private MarketplaceIntegration $marketplaceIntegration;
private IntegrationSoapErp $integrationSoapErp;

Expand Down

0 comments on commit 327ae1f

Please sign in to comment.