Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
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/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/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/Promotion/Generator/PercentageGenerationPolicy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     /**
61 61
      * @param InstructionInterface $instruction
62 62
      *
63
-     * @return int
63
+     * @return double
64 64
      */
65 65
     private function calculatePossibleGenerationAmount(InstructionInterface $instruction)
66 66
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/ToggleableInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -23,10 +23,17 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param bool $enabled
26
+     * @return void
26 27
      */
27 28
     public function setEnabled($enabled);
28 29
 
30
+    /**
31
+     * @return void
32
+     */
29 33
     public function enable();
30 34
 
35
+    /**
36
+     * @return void
37
+     */
31 38
     public function disable();
32 39
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TranslatableInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -36,11 +36,13 @@  discard block
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param string $locale
39
+     * @return void
39 40
      */
40 41
     public function setCurrentLocale($locale);
41 42
 
42 43
     /**
43 44
      * @param string $locale
45
+     * @return void
44 46
      */
45 47
     public function setFallbackLocale($locale);
46 48
 
@@ -51,11 +53,13 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param TranslationInterface $translation
56
+     * @return void
54 57
      */
55 58
     public function addTranslation(TranslationInterface $translation);
56 59
 
57 60
     /**
58 61
      * @param TranslationInterface $translation
62
+     * @return void
59 63
      */
60 64
     public function removeTranslation(TranslationInterface $translation);
61 65
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/InMemoryRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      * @param ResourceInterface[] $resources
185 185
      * @param array               $criteria
186 186
      *
187
-     * @return ResourceInterface[]|array
187
+     * @return ResourceInterface[]
188 188
      */
189 189
     private function applyCriteria(array $resources, array $criteria)
190 190
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/RepositoryInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,17 +27,19 @@
 block discarded – undo
27 27
      * @param array $criteria
28 28
      * @param array $sorting
29 29
      *
30
-     * @return mixed
30
+     * @return \Pagerfanta\Pagerfanta
31 31
      */
32 32
     public function createPaginator(array $criteria = [], array $sorting = []);
33 33
 
34 34
     /**
35 35
      * @param ResourceInterface $resource
36
+     * @return void
36 37
      */
37 38
     public function add(ResourceInterface $resource);
38 39
 
39 40
     /**
40 41
      * @param ResourceInterface $resource
42
+     * @return void
41 43
      */
42 44
     public function remove(ResourceInterface $resource);
43 45
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/spec/Resolver/TaxRateResolverSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Resource\Repository\RepositoryInterface;
16
-use Sylius\Component\Taxation\Model\TaxableInterface;
17 16
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxRateInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.