Skip to content

Commit

Permalink
[shopsys] fix build of project-base after updating overblog/dataloade…
Browse files Browse the repository at this point in the history
…r-bundle (#3698)
  • Loading branch information
vitek-rostislav authored Dec 27, 2024
2 parents c8c0bbd + b5a12c7 commit 6b65d31
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser;
use Shopsys\FrameworkBundle\Model\Customer\User\CustomerUser;
use Shopsys\FrameworkBundle\Model\Customer\User\Role\CustomerUserRole;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
Expand All @@ -17,7 +17,7 @@ class CustomerUserRoleGroupAllowEditValidator extends ConstraintValidator
{
/**
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
* @param \Shopsys\FrameworkBundle\Model\Customer\CustomerFacade $customerFacade
*/
public function __construct(
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Complaint/ComplaintApiFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use Shopsys\FrontendApiBundle\Model\Order\OrderApiFacade;
use Shopsys\FrontendApiBundle\Model\Order\OrderItemApiFacade;
use Shopsys\FrontendApiBundle\Model\Resolver\Order\Exception\InvalidAccessUserError;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class ComplaintApiFacade
{
Expand All @@ -41,7 +41,7 @@ class ComplaintApiFacade
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Shopsys\FrontendApiBundle\Model\Complaint\ComplaintDataApiFactory $complaintDataApiFactory
* @param \Shopsys\FrontendApiBundle\Model\Complaint\ComplaintItemDataApiFactory $complaintItemDataApiFactory
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
* @param \Shopsys\FrameworkBundle\Model\Complaint\Mail\ComplaintMailFacade $complaintMailFacade
* @param \Shopsys\FrontendApiBundle\Model\Complaint\ComplaintRepository $complaintRepository
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Complaint/ComplaintQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
use Shopsys\FrontendApiBundle\Model\Complaint\Exception\ComplaintNotFoundUserError;
use Shopsys\FrontendApiBundle\Model\Resolver\AbstractQuery;
use Shopsys\FrontendApiBundle\Model\Token\Exception\InvalidTokenUserMessageException;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class ComplaintQuery extends AbstractQuery
{
/**
* @param \Shopsys\FrontendApiBundle\Model\Complaint\ComplaintApiFacade $complaintApiFacade
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
*/
public function __construct(
protected readonly ComplaintApiFacade $complaintApiFacade,
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Complaint/ComplaintsQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
use Shopsys\FrontendApiBundle\Model\Complaint\ComplaintApiFacade;
use Shopsys\FrontendApiBundle\Model\Resolver\AbstractQuery;
use Shopsys\FrontendApiBundle\Model\Token\Exception\InvalidTokenUserMessageException;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class ComplaintsQuery extends AbstractQuery
{
/**
* @param \Shopsys\FrontendApiBundle\Model\Complaint\ComplaintApiFacade $complaintApiFacade
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
*/
public function __construct(
protected readonly ComplaintApiFacade $complaintApiFacade,
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Order/OrderItemsQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
use Shopsys\FrontendApiBundle\Model\Order\OrderItemsFilterFactory;
use Shopsys\FrontendApiBundle\Model\Resolver\AbstractQuery;
use Shopsys\FrontendApiBundle\Model\Token\Exception\InvalidTokenUserMessageException;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class OrderItemsQuery extends AbstractQuery
{
/**
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderItemApiFacade $orderItemApiFacade
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderItemsFilterFactory $orderItemsFilterFactory
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
*/
public function __construct(
protected readonly OrderItemApiFacade $orderItemApiFacade,
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Order/OrderItemsSearchQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
use Shopsys\FrontendApiBundle\Model\Order\OrderItemsFilterFactory;
use Shopsys\FrontendApiBundle\Model\Resolver\AbstractQuery;
use Shopsys\FrontendApiBundle\Model\Token\Exception\InvalidTokenUserMessageException;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class OrderItemsSearchQuery extends AbstractQuery
{
/**
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderItemApiFacade $orderItemApiFacade
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderItemsFilterFactory $orderItemsFilterFactory
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
*/
public function __construct(
protected readonly OrderItemApiFacade $orderItemApiFacade,
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Order/OrderQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Shopsys\FrontendApiBundle\Model\Order\OrderApiFacade;
use Shopsys\FrontendApiBundle\Model\Resolver\AbstractQuery;
use Shopsys\FrontendApiBundle\Model\Resolver\Order\Exception\OrderNotFoundUserError;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class OrderQuery extends AbstractQuery
{
Expand All @@ -24,7 +24,7 @@ class OrderQuery extends AbstractQuery
* @param \Shopsys\FrameworkBundle\Model\Order\OrderFacade $orderFacade
* @param \Shopsys\FrameworkBundle\Component\Domain\Domain $domain
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderApiFacade $orderApiFacade
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
*/
public function __construct(
protected readonly CurrentCustomerUser $currentCustomerUser,
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Order/OrdersQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
use Shopsys\FrontendApiBundle\Model\Order\OrderFilterFactory;
use Shopsys\FrontendApiBundle\Model\Resolver\AbstractQuery;
use Shopsys\FrontendApiBundle\Model\Token\Exception\InvalidTokenUserMessageException;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class OrdersQuery extends AbstractQuery
{
/**
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CurrentCustomerUser $currentCustomerUser
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderApiFacade $orderApiFacade
* @param \Shopsys\FrameworkBundle\Model\Customer\CustomerFacade $customerFacade
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
* @param \Shopsys\FrontendApiBundle\Model\Order\OrderFilterFactory $orderFilterFactory
*/
public function __construct(
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Resolver/Query/MoneyResolverMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
use Shopsys\FrameworkBundle\Component\Money\Money;
use Shopsys\FrameworkBundle\Model\Customer\User\Role\CustomerUserRole;
use Shopsys\FrontendApiBundle\Component\Price\MoneyFormatterHelper;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

class MoneyResolverMap extends ResolverMap
{
/**
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
*/
public function __construct(protected readonly Security $security)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Voter/CompanyOwnerVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
use Shopsys\FrameworkBundle\Component\Domain\Domain;
use Shopsys\FrameworkBundle\Model\Customer\Exception\CustomerUserNotFoundException;
use Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserFacade;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Security;

class CompanyOwnerVoter extends AbstractB2bVoter
{
/**
* @param \Shopsys\FrameworkBundle\Component\Domain\Domain $domain
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserFacade $customerUserFacade
*/
public function __construct(
Expand Down
4 changes: 2 additions & 2 deletions src/Voter/CustomerUserVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
use Shopsys\FrameworkBundle\Component\Domain\Domain;
use Shopsys\FrameworkBundle\Model\Customer\Exception\CustomerUserNotFoundException;
use Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserFacade;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Security;

class CustomerUserVoter extends AbstractB2bVoter
{
/**
* @param \Shopsys\FrameworkBundle\Component\Domain\Domain $domain
* @param \Symfony\Component\Security\Core\Security $security
* @param \Symfony\Bundle\SecurityBundle\Security $security
* @param \Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserFacade $customerUserFacade
*/
public function __construct(
Expand Down

0 comments on commit 6b65d31

Please sign in to comment.