Completed
Push — 1.6 ( 5f8889...18eecb )
by Kamil
05:24
created
src/Sylius/Component/Attribute/Model/AttributeValueInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -31,18 +31,38 @@  discard block
 block discarded – undo
31 31
 
32 32
     public const STORAGE_TEXT = 'text';
33 33
 
34
+    /**
35
+     * @return AttributeSubjectInterface
36
+     */
34 37
     public function getSubject(): ?AttributeSubjectInterface;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function setSubject(?AttributeSubjectInterface $subject): void;
37 43
 
44
+    /**
45
+     * @return AttributeInterface
46
+     */
38 47
     public function getAttribute(): ?AttributeInterface;
39 48
 
49
+    /**
50
+     * @param \Sylius\Component\Product\Model\ProductAttributeInterface $attribute
51
+     *
52
+     * @return void
53
+     */
40 54
     public function setAttribute(?AttributeInterface $attribute): void;
41 55
 
42 56
     public function getValue();
43 57
 
58
+    /**
59
+     * @return void
60
+     */
44 61
     public function setValue($value): void;
45 62
 
63
+    /**
64
+     * @return string
65
+     */
46 66
     public function getCode(): ?string;
47 67
 
48 68
     public function getName(): ?string;
@@ -51,8 +71,14 @@  discard block
 block discarded – undo
51 71
 
52 72
     /**
53 73
      * @throws \InvalidArgumentException
74
+     * @return string
54 75
      */
55 76
     public function getLocaleCode(): ?string;
56 77
 
78
+    /**
79
+     * @param string $localeCode
80
+     *
81
+     * @return void
82
+     */
57 83
     public function setLocaleCode(?string $localeCode): void;
58 84
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/ReviewInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -24,27 +24,63 @@
 block discarded – undo
24 24
 
25 25
     public const STATUS_REJECTED = 'rejected';
26 26
 
27
+    /**
28
+     * @return string
29
+     */
27 30
     public function getTitle(): ?string;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function setTitle(?string $title): void;
30 36
 
37
+    /**
38
+     * @return integer
39
+     */
31 40
     public function getRating(): ?int;
32 41
 
42
+    /**
43
+     * @return void
44
+     */
33 45
     public function setRating(?int $rating): void;
34 46
 
47
+    /**
48
+     * @return string
49
+     */
35 50
     public function getComment(): ?string;
36 51
 
52
+    /**
53
+     * @return void
54
+     */
37 55
     public function setComment(?string $comment): void;
38 56
 
57
+    /**
58
+     * @return ReviewerInterface
59
+     */
39 60
     public function getAuthor(): ?ReviewerInterface;
40 61
 
62
+    /**
63
+     * @return void
64
+     */
41 65
     public function setAuthor(?ReviewerInterface $author): void;
42 66
 
67
+    /**
68
+     * @return string
69
+     */
43 70
     public function getStatus(): ?string;
44 71
 
72
+    /**
73
+     * @return void
74
+     */
45 75
     public function setStatus(?string $status): void;
46 76
 
77
+    /**
78
+     * @return ReviewableInterface
79
+     */
47 80
     public function getReviewSubject(): ?ReviewableInterface;
48 81
 
82
+    /**
83
+     * @return void
84
+     */
49 85
     public function setReviewSubject(?ReviewableInterface $reviewSubject): void;
50 86
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Doc Comments   +41 added lines patch added patch discarded remove patch
@@ -27,20 +27,43 @@  discard block
 block discarded – undo
27 27
 
28 28
     public const STATE_FULFILLED = 'fulfilled';
29 29
 
30
+    /**
31
+     * @return \DateTimeInterface|null
32
+     */
30 33
     public function getCheckoutCompletedAt(): ?\DateTimeInterface;
31 34
 
35
+    /**
36
+     * @param \DateTimeInterface $checkoutCompletedAt
37
+     *
38
+     * @return void
39
+     */
32 40
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
33 41
 
34 42
     public function isCheckoutCompleted(): bool;
35 43
 
44
+    /**
45
+     * @return void
46
+     */
36 47
     public function completeCheckout(): void;
37 48
 
49
+    /**
50
+     * @return string|null
51
+     */
38 52
     public function getNumber(): ?string;
39 53
 
54
+    /**
55
+     * @return void
56
+     */
40 57
     public function setNumber(?string $number): void;
41 58
 
59
+    /**
60
+     * @return string|null
61
+     */
42 62
     public function getNotes(): ?string;
43 63
 
64
+    /**
65
+     * @return void
66
+     */
44 67
     public function setNotes(?string $notes): void;
45 68
 
46 69
     /**
@@ -48,18 +71,30 @@  discard block
 block discarded – undo
48 71
      */
49 72
     public function getItems(): Collection;
50 73
 
74
+    /**
75
+     * @return void
76
+     */
51 77
     public function clearItems(): void;
52 78
 
53 79
     public function countItems(): int;
54 80
 
81
+    /**
82
+     * @return void
83
+     */
55 84
     public function addItem(OrderItemInterface $item): void;
56 85
 
86
+    /**
87
+     * @return void
88
+     */
57 89
     public function removeItem(OrderItemInterface $item): void;
58 90
 
59 91
     public function hasItem(OrderItemInterface $item): bool;
60 92
 
61 93
     public function getItemsTotal(): int;
62 94
 
95
+    /**
96
+     * @return void
97
+     */
63 98
     public function recalculateItemsTotal(): void;
64 99
 
65 100
     public function getTotal(): int;
@@ -68,6 +103,9 @@  discard block
 block discarded – undo
68 103
 
69 104
     public function getState(): string;
70 105
 
106
+    /**
107
+     * @return void
108
+     */
71 109
     public function setState(string $state): void;
72 110
 
73 111
     public function isEmpty(): bool;
@@ -79,5 +117,8 @@  discard block
 block discarded – undo
79 117
 
80 118
     public function getAdjustmentsTotalRecursively(?string $type = null): int;
81 119
 
120
+    /**
121
+     * @return void
122
+     */
82 123
     public function removeAdjustmentsRecursively(?string $type = null): void;
83 124
 }
Please login to merge, or discard this patch.