Completed
Push — docs-extract-bundles ( 174330 )
by Kamil
05:56
created
src/Sylius/Component/Shipping/Model/ShipmentInterface.php 1 patch
Doc Comments   +32 added lines patch added patch discarded remove patch
@@ -27,12 +27,24 @@  discard block
 block discarded – undo
27 27
 
28 28
     public const STATE_CANCELLED = 'cancelled';
29 29
 
30
+    /**
31
+     * @return string
32
+     */
30 33
     public function getState(): ?string;
31 34
 
35
+    /**
36
+     * @return void
37
+     */
32 38
     public function setState(?string $state): void;
33 39
 
40
+    /**
41
+     * @return ShippingMethodInterface|null
42
+     */
34 43
     public function getMethod(): ?ShippingMethodInterface;
35 44
 
45
+    /**
46
+     * @return void
47
+     */
36 48
     public function setMethod(?ShippingMethodInterface $method): void;
37 49
 
38 50
     /**
@@ -42,19 +54,39 @@  discard block
 block discarded – undo
42 54
      */
43 55
     public function getUnits(): Collection;
44 56
 
57
+    /**
58
+     * @return void
59
+     */
45 60
     public function addUnit(ShipmentUnitInterface $unit): void;
46 61
 
62
+    /**
63
+     * @return void
64
+     */
47 65
     public function removeUnit(ShipmentUnitInterface $unit): void;
48 66
 
49 67
     public function hasUnit(ShipmentUnitInterface $unit): bool;
50 68
 
69
+    /**
70
+     * @return string|null
71
+     */
51 72
     public function getTracking(): ?string;
52 73
 
74
+    /**
75
+     * @return void
76
+     */
53 77
     public function setTracking(?string $tracking): void;
54 78
 
55 79
     public function isTracked(): bool;
56 80
 
81
+    /**
82
+     * @return \DateTimeInterface|null
83
+     */
57 84
     public function getShippedAt(): ?\DateTimeInterface;
58 85
 
86
+    /**
87
+     * @param \DateTimeInterface $shippedAt
88
+     *
89
+     * @return void
90
+     */
59 91
     public function setShippedAt(?\DateTimeInterface $shippedAt): void;
60 92
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/DashboardPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,5 +25,8 @@
 block discarded – undo
25 25
 
26 26
     public function hasResendVerificationEmailButton(): bool;
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function pressResendVerificationEmail(): void;
29 32
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-     * @param string|array $selector
256
+     * @param string $selector
257 257
      *
258 258
      * @throws ElementNotFoundException
259 259
      */
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,16 +16,15 @@
 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;
22
-use Sylius\Component\Core\Model\Order;
23 23
 use Sylius\Component\Core\Model\OrderInterface;
24 24
 use Sylius\Component\Core\Model\PromotionCouponInterface;
25 25
 use Sylius\Component\Core\OrderCheckoutStates;
26 26
 use Sylius\Component\Core\OrderPaymentStates;
27 27
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
28
-use SyliusLabs\AssociationHydrator\AssociationHydrator;
29 28
 
30 29
 class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface
31 30
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/Taxon.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * {@inheritdoc}
65
+     * @param string $code
65 66
      */
66 67
     public function setCode(?string $code): void
67 68
     {
Please login to merge, or discard this patch.