Skip to content

Commit

Permalink
cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Dec 13, 2023
1 parent a6d10f6 commit f84aeb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Repository/FavoriteProductLegacyRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Oksydan\IsFavoriteProducts\Repository;

use Oksydan\IsFavoriteProducts\DTO\FavoriteProduct as FavoriteProductDTO;
use Doctrine\DBAL\Connection;
use Oksydan\IsFavoriteProducts\DTO\FavoriteProduct as FavoriteProductDTO;

class FavoriteProductLegacyRepository
{
Expand Down Expand Up @@ -45,6 +45,7 @@ public function __construct(Connection $connection, string $dbPrefix)
* @param FavoriteProductDTO[] $excludeProducts
*
* @return array
*
* @throws \Doctrine\DBAL\Driver\Exception
* @throws \Doctrine\DBAL\Exception
*/
Expand Down Expand Up @@ -99,6 +100,7 @@ public function getFavoriteProductsForListing(
* @param FavoriteProductDTO[] $excludeProducts
*
* @return int
*
* @throws \Doctrine\DBAL\Driver\Exception
* @throws \Doctrine\DBAL\Exception
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Services/FavoriteProductService.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FavoriteProductService
public const FAVORITE_LIMIT_FOR_GUEST = 20;

public function __construct(
Context $context,
\Context $context,
FavoriteProductRepository $favoriteProductsRepository,
FavoriteProductCookieRepository $favoriteProductsCookieRepository,
ProductLegacyRepository $productRepository,
Expand Down

0 comments on commit f84aeb6

Please sign in to comment.