Completed
Push — fixtures/enhancements ( 4ca292 )
by Kamil
58:26 queued 22:32
created
src/Sylius/Bundle/UserBundle/Form/Model/ChangePassword.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Gets the value of currentPassword.
30 30
      *
31
-     * @return mixed
31
+     * @return string
32 32
      */
33 33
     public function getCurrentPassword()
34 34
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Gets the value of newPassword.
54 54
      *
55
-     * @return mixed
55
+     * @return string
56 56
      */
57 57
     public function getNewPassword()
58 58
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/WebBundle/Behat/WebContext.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -287,6 +287,8 @@  discard block
 block discarded – undo
287 287
 
288 288
     /**
289 289
      * @Given /^I fill in the (billing|shipping) address to (.+)$/
290
+     * @param string $type
291
+     * @param string $country
290 292
      */
291 293
     public function iFillInCheckoutAddress($type, $country)
292 294
     {
@@ -312,6 +314,9 @@  discard block
 block discarded – undo
312 314
         $this->iFillInAddressFields('sylius_address', $country);
313 315
     }
314 316
 
317
+    /**
318
+     * @param string $base
319
+     */
315 320
     protected function iFillInAddressFields($base, $country)
316 321
     {
317 322
         $this->fillField($base.'[firstName]', 'John');
@@ -324,6 +329,7 @@  discard block
 block discarded – undo
324 329
 
325 330
     /**
326 331
      * @Given /^I select the "(?P<field>([^""]|\\")*)" radio button$/
332
+     * @param string $field
327 333
      */
328 334
     public function iSelectTheRadioButton($field)
329 335
     {
@@ -740,6 +746,9 @@  discard block
 block discarded – undo
740 746
         $this->assertSession()->elementContains('css', '#enabled', 'yes');
741 747
     }
742 748
 
749
+    /**
750
+     * @param string $route
751
+     */
743 752
     private function assertRoute($route)
744 753
     {
745 754
         $this->assertSession()->addressEquals($this->generatePageUrl($route));
Please login to merge, or discard this patch.
Sylius/Bundle/WebBundle/Controller/Frontend/Account/AddressController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -166,6 +166,10 @@
 block discarded – undo
166 166
         return $this->redirectToIndex();
167 167
     }
168 168
 
169
+    /**
170
+     * @param string $type
171
+     * @param string $message
172
+     */
169 173
     protected function addFlash($type, $message)
170 174
     {
171 175
         $translator = $this->get('translator');
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/Zone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
     /**
127 127
      * Returns all zone types available.
128 128
      *
129
-     * @return array of self::TYPE_*
129
+     * @return string[] of self::TYPE_*
130 130
      */
131 131
     public static function getTypes()
132 132
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/ZoneInterface.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param string $name
35
+     * @return void
35 36
      */
36 37
     public function setName($name);
37 38
 
@@ -42,6 +43,7 @@  discard block
 block discarded – undo
42 43
 
43 44
     /**
44 45
      * @param string $type
46
+     * @return void
45 47
      */
46 48
     public function setType($type);
47 49
 
@@ -52,6 +54,7 @@  discard block
 block discarded – undo
52 54
 
53 55
     /**
54 56
      * @param string $scope
57
+     * @return void
55 58
      */
56 59
     public function setScope($scope);
57 60
 
@@ -61,7 +64,8 @@  discard block
 block discarded – undo
61 64
     public function getMembers();
62 65
 
63 66
     /**
64
-     * @param Collection|ZoneMemberInterface[] $members
67
+     * @param Collection $members
68
+     * @return void
65 69
      */
66 70
     public function setMembers(Collection $members);
67 71
 
@@ -72,11 +76,13 @@  discard block
 block discarded – undo
72 76
 
73 77
     /**
74 78
      * @param ZoneMemberInterface $member
79
+     * @return void
75 80
      */
76 81
     public function addMember(ZoneMemberInterface $member);
77 82
 
78 83
     /**
79 84
      * @param ZoneMemberInterface $member
85
+     * @return void
80 86
      */
81 87
     public function removeMember(ZoneMemberInterface $member);
82 88
 
Please login to merge, or discard this patch.
src/Sylius/Component/Archetype/Model/ArchetypeInterface.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,12 +42,14 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Sets all prototype attributes.
44 44
      *
45
-     * @param Collection|AttributeInterface[] $attributes
45
+     * @param Collection $attributes
46
+     * @return void
46 47
      */
47 48
     public function setAttributes(Collection $attributes);
48 49
 
49 50
     /**
50 51
      * @param AttributeInterface $attribute
52
+     * @return void
51 53
      */
52 54
     public function addAttribute(AttributeInterface $attribute);
53 55
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
      * Removes attribute from prototype.
56 58
      *
57 59
      * @param AttributeInterface $attribute
60
+     * @return void
58 61
      */
59 62
     public function removeAttribute(AttributeInterface $attribute);
60 63
 
@@ -77,12 +80,14 @@  discard block
 block discarded – undo
77 80
     /**
78 81
      * Sets all prototype options.
79 82
      *
80
-     * @param Collection|OptionInterface[] $options
83
+     * @param Collection $options
84
+     * @return void
81 85
      */
82 86
     public function setOptions(Collection $options);
83 87
 
84 88
     /**
85 89
      * @param OptionInterface $option
90
+     * @return void
86 91
      */
87 92
     public function addOption(OptionInterface $option);
88 93
 
@@ -90,6 +95,7 @@  discard block
 block discarded – undo
90 95
      * Removes option from prototype.
91 96
      *
92 97
      * @param OptionInterface $option
98
+     * @return void
93 99
      */
94 100
     public function removeOption(OptionInterface $option);
95 101
 
@@ -109,6 +115,7 @@  discard block
 block discarded – undo
109 115
 
110 116
     /**
111 117
      * @param null|ArchetypeInterface $parent
118
+     * @return void
112 119
      */
113 120
     public function setParent(ArchetypeInterface $parent = null);
114 121
 
Please login to merge, or discard this patch.
src/Sylius/Component/Association/Model/AssociationType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     protected $name;
38 38
 
39 39
     /**
40
-     * @param string $name
41 40
      */
42 41
     public function __construct()
43 42
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/CustomerInterface.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@  discard block
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @param string $currencyCode
24
+     * @return void
24 25
      */
25 26
     public function setCurrencyCode($currencyCode);
26 27
 
@@ -30,12 +31,13 @@  discard block
 block discarded – undo
30 31
     public function getCurrencyCode();
31 32
 
32 33
     /**
33
-     * @return Collection|OrderInterface[]
34
+     * @return \Doctrine\Common\Collections\ArrayCollection
34 35
      */
35 36
     public function getOrders();
36 37
 
37 38
     /**
38 39
      * @param AddressInterface $billingAddress
40
+     * @return void
39 41
      */
40 42
     public function setBillingAddress(AddressInterface $billingAddress = null);
41 43
 
@@ -46,6 +48,7 @@  discard block
 block discarded – undo
46 48
 
47 49
     /**
48 50
      * @param AddressInterface $shippingAddress
51
+     * @return void
49 52
      */
50 53
     public function setShippingAddress(AddressInterface $shippingAddress = null);
51 54
 
@@ -56,11 +59,13 @@  discard block
 block discarded – undo
56 59
 
57 60
     /**
58 61
      * @param AddressInterface $address
62
+     * @return void
59 63
      */
60 64
     public function addAddress(AddressInterface $address);
61 65
 
62 66
     /**
63 67
      * @param AddressInterface $address
68
+     * @return void
64 69
      */
65 70
     public function removeAddress(AddressInterface $address);
66 71
 
@@ -72,7 +77,7 @@  discard block
 block discarded – undo
72 77
     public function hasAddress(AddressInterface $address);
73 78
 
74 79
     /**
75
-     * @return Collection|AddressInterface[]
80
+     * @return \Doctrine\Common\Collections\ArrayCollection
76 81
      */
77 82
     public function getAddresses();
78 83
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Order.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
     }
354 354
 
355 355
     /**
356
-     * @return null|BaseCouponInterface
356
+     * @return BaseCouponInterface
357 357
      */
358 358
     public function getPromotionCoupon()
359 359
     {
Please login to merge, or discard this patch.