Completed
Push — fixtures/delete-old-ones ( 589298...6437b8 )
by Kamil
71:11 queued 37:23
created
src/Sylius/Component/Grid/spec/View/GridViewSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Grid\View;
13 13
 
14
+use PhpSpec\ObjectBehavior;
14 15
 use Sylius\Component\Grid\Definition\Grid;
15 16
 use Sylius\Component\Grid\Parameters;
16 17
 use Sylius\Component\Grid\View\GridView;
17
-use PhpSpec\ObjectBehavior;
18
-use Prophecy\Argument;
19 18
 
20 19
 /**
21 20
  * @mixin GridView
Please login to merge, or discard this patch.
src/Sylius/Component/Inventory/Model/StockableInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,8 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param int
44
+     * @param integer $onHold
45
+     * @return void
44 46
      */
45 47
     public function setOnHold($onHold);
46 48
 
@@ -51,6 +53,7 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param int $onHand
56
+     * @return void
54 57
      */
55 58
     public function setOnHand($onHand);
56 59
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Mailer/Event/EmailSendEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return array
61
+     * @return string[]
62 62
      */
63 63
     public function getRecipients()
64 64
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Mailer/Provider/EmailProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
41 41
     protected $configuration;
42 42
 
43 43
     /**
44
-     * @param FactoryInterface $factory
45 44
      * @param RepositoryInterface $emailRepository
46 45
      * @param array               $configuration
47 46
      */
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/AdjustmentInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param AdjustableInterface|null $adjustable
30
+     * @return void
30 31
      */
31 32
     public function setAdjustable(AdjustableInterface $adjustable = null);
32 33
 
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param string $type
41
+     * @return void
40 42
      */
41 43
     public function setType($type);
42 44
 
@@ -47,6 +49,7 @@  discard block
 block discarded – undo
47 49
 
48 50
     /**
49 51
      * @param string $label
52
+     * @return void
50 53
      */
51 54
     public function setLabel($label);
52 55
 
@@ -57,6 +60,7 @@  discard block
 block discarded – undo
57 60
 
58 61
     /**
59 62
      * @param int $amount
63
+     * @return void
60 64
      */
61 65
     public function setAmount($amount);
62 66
 
@@ -67,6 +71,7 @@  discard block
 block discarded – undo
67 71
 
68 72
     /**
69 73
      * @param bool $neutral
74
+     * @return void
70 75
      */
71 76
     public function setNeutral($neutral);
72 77
 
@@ -93,7 +98,13 @@  discard block
 block discarded – undo
93 98
      */
94 99
     public function isLocked();
95 100
 
101
+    /**
102
+     * @return void
103
+     */
96 104
     public function lock();
97 105
 
106
+    /**
107
+     * @return void
108
+     */
98 109
     public function unlock();
99 110
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItemInterface.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param int $unitPrice
36
+     * @return void
36 37
      */
37 38
     public function setUnitPrice($unitPrice);
38 39
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * Recalculate totals. Should be used after every unit change.
47
+     * @return void
46 48
      */
47 49
     public function recalculateUnitsTotal();
48 50
 
@@ -63,6 +65,7 @@  discard block
 block discarded – undo
63 65
 
64 66
     /**
65 67
      * @param bool $immutable
68
+     * @return void
66 69
      */
67 70
     public function setImmutable($immutable);
68 71
 
@@ -80,11 +83,13 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param OrderItemUnitInterface $itemUnit
86
+     * @return void
83 87
      */
84 88
     public function addUnit(OrderItemUnitInterface $itemUnit);
85 89
 
86 90
     /**
87 91
      * @param OrderItemUnitInterface $itemUnit
92
+     * @return void
88 93
      */
89 94
     public function removeUnit(OrderItemUnitInterface $itemUnit);
90 95
 
@@ -97,13 +102,14 @@  discard block
 block discarded – undo
97 102
 
98 103
     /**
99 104
      * @param string|null $type
105
+     * @return void
100 106
      */
101 107
     public function removeAdjustmentsRecursively($type = null);
102 108
 
103 109
     /**
104 110
      * @param string|null $type
105 111
      *
106
-     * @return array
112
+     * @return integer
107 113
      */
108 114
     public function getAdjustmentsTotalRecursively($type = null);
109 115
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Originator/Originator/OriginatorInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OriginAwareInterface $originAware
30
-     * @param object               $origin
30
+     * @param \Sylius\Component\Promotion\Model\PromotionInterface               $origin
31
+     * @return void
31 32
      */
32 33
     public function setOrigin(OriginAwareInterface $originAware, $origin);
33 34
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param null|PaymentMethodInterface $method
42
+     * @return void
42 43
      */
43 44
     public function setMethod(PaymentMethodInterface $method = null);
44 45
 
@@ -49,6 +50,7 @@  discard block
 block discarded – undo
49 50
 
50 51
     /**
51 52
      * @param null|PaymentSourceInterface $source
53
+     * @return void
52 54
      */
53 55
     public function setSource(PaymentSourceInterface $source = null);
54 56
 
@@ -59,6 +61,7 @@  discard block
 block discarded – undo
59 61
 
60 62
     /**
61 63
      * @param string $state
64
+     * @return void
62 65
      */
63 66
     public function setState($state);
64 67
 
@@ -69,6 +72,8 @@  discard block
 block discarded – undo
69 72
 
70 73
     /**
71 74
      * @param string
75
+     * @param string $currencyCode
76
+     * @return void
72 77
      */
73 78
     public function setCurrencyCode($currencyCode);
74 79
 
@@ -79,11 +84,13 @@  discard block
 block discarded – undo
79 84
 
80 85
     /**
81 86
      * @param int $amount
87
+     * @return void
82 88
      */
83 89
     public function setAmount($amount);
84 90
 
85 91
     /**
86 92
      * @param array|\Traversable $details
93
+     * @return void
87 94
      */
88 95
     public function setDetails($details);
89 96
 
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodTranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
      * Set the name.
27 27
      *
28 28
      * @param string $name
29
+     * @return null|PaymentMethodTranslation
29 30
      */
30 31
     public function setName($name);
31 32
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
      * Set description.
41 42
      *
42 43
      * @param string $description
44
+     * @return null|PaymentMethodTranslation
43 45
      */
44 46
     public function setDescription($description);
45 47
 }
Please login to merge, or discard this patch.