Completed
Push — 1.7-find-all-replaced-by-find-... ( 8af3fc )
by Kamil
05:46
created
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
 use Doctrine\ORM\EntityManager;
17 17
 use Doctrine\ORM\Mapping;
18 18
 use Doctrine\ORM\QueryBuilder;
19
+use SyliusLabs\AssociationHydrator\AssociationHydrator;
19 20
 use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository;
20 21
 use Sylius\Component\Core\Model\ChannelInterface;
21 22
 use Sylius\Component\Core\Model\CustomerInterface;
@@ -24,7 +25,6 @@  discard block
 block discarded – undo
24 25
 use Sylius\Component\Core\OrderCheckoutStates;
25 26
 use Sylius\Component\Core\OrderPaymentStates;
26 27
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
27
-use SyliusLabs\AssociationHydrator\AssociationHydrator;
28 28
 
29 29
 class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface
30 30
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/Controller/DashboardController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         return $this->templatingEngine->renderResponse('@SyliusAdmin/Dashboard/index.html.twig', $data);
84 84
     }
85 85
 
86
+    /**
87
+     * @return ChannelInterface
88
+     */
86 89
     private function findChannelByCodeOrFindFirst(?string $channelCode): ?ChannelInterface
87 90
     {
88 91
         $channel = null;
Please login to merge, or discard this patch.