Skip to content

Commit

Permalink
csfixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Dec 16, 2023
1 parent 7ba5238 commit ce392ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions src/Presenter/AdminFavoriteProductPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AdminFavoriteProductPresenter implements AdminFavoriteProductPresenterInterface
{
/**
* @var RouterInterface $router
* @var RouterInterface
*/
protected RouterInterface $router;

Expand All @@ -22,8 +22,7 @@ class AdminFavoriteProductPresenter implements AdminFavoriteProductPresenterInte
public function __construct(
RouterInterface $router,
ProductLegacyRepository $productLegacyRepository
)
{
) {
$this->router = $router;
$this->productLegacyRepository = $productLegacyRepository;
}
Expand Down
6 changes: 2 additions & 4 deletions src/Provider/CustomerFavoriteProductsProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@

class CustomerFavoriteProductsProvider implements CustomerFavoriteProductsProviderInterface
{

/*
* @var FavoriteProductRepository $favoriteProductsRepository
*/
private FavoriteProductRepository $favoriteProductsRepository;

/**
* @var FavoriteProductMapper $favoriteProductMapper
* @var FavoriteProductMapper
*/
private FavoriteProductMapper $favoriteProductMapper;

public function __construct(
FavoriteProductRepository $favoriteProductsRepository,
FavoriteProductMapper $favoriteProductMapper
)
{
) {
$this->favoriteProductsRepository = $favoriteProductsRepository;
$this->favoriteProductMapper = $favoriteProductMapper;
}
Expand Down
1 change: 0 additions & 1 deletion src/Provider/CustomerFavoriteProductsProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Oksydan\IsFavoriteProducts\Provider;


interface CustomerFavoriteProductsProviderInterface
{
public function getFavoriteProductsByCustomer(\Customer $customer, \Shop $shop): array;
Expand Down

0 comments on commit ce392ad

Please sign in to comment.