Code Duplication    Length = 13-13 lines in 2 locations

src/Sylius/Behat/Context/Ui/Admin/ManagingOrdersContext.php 1 location

@@ 64-76 (lines=13) @@
61
     * @param NotificationCheckerInterface $notificationChecker
62
     * @param SecurityServiceInterface $securityService
63
     */
64
    public function __construct(
65
        SharedStorageInterface $sharedStorage,
66
        IndexPageInterface $indexPage,
67
        ShowPageInterface $showPage,
68
        NotificationCheckerInterface $notificationChecker,
69
        SecurityServiceInterface $securityService
70
    ) {
71
        $this->sharedStorage = $sharedStorage;
72
        $this->indexPage = $indexPage;
73
        $this->showPage = $showPage;
74
        $this->notificationChecker = $notificationChecker;
75
        $this->securityService = $securityService;
76
    }
77
78
    /**
79
     * @When I browse orders

src/Sylius/Behat/Context/Ui/Shop/CartContext.php 1 location

@@ 66-78 (lines=13) @@
63
     * @param NotificationCheckerInterface $notificationChecker
64
     * @param SecurityServiceInterface $securityService
65
     */
66
    public function __construct(
67
        SharedStorageInterface $sharedStorage,
68
        SummaryPageInterface $summaryPage,
69
        ShowPageInterface $productShowPage,
70
        NotificationCheckerInterface $notificationChecker,
71
        SecurityServiceInterface $securityService
72
    ) {
73
        $this->sharedStorage = $sharedStorage;
74
        $this->summaryPage = $summaryPage;
75
        $this->productShowPage = $productShowPage;
76
        $this->notificationChecker = $notificationChecker;
77
        $this->securityService = $securityService;
78
    }
79
80
    /**
81
     * @When I see the summary of my cart