Completed
Push — fixtures/delete-old-ones ( 589298...6437b8 )
by Kamil
71:11 queued 37:23
created
src/Sylius/Component/Core/Model/ChannelInterface.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Component\Core\Model;
13 13
 
14
-use Sylius\Bundle\ThemeBundle\Model\ThemeInterface;
15 14
 use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface;
16 15
 use Sylius\Component\Currency\Model\CurrenciesAwareInterface;
17 16
 use Sylius\Component\Currency\Model\CurrencyInterface;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
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.
src/Sylius/Component/Core/Model/Product.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16
-use Sylius\Component\Addressing\Model\ZoneInterface;
17 16
 use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface;
18 17
 use Sylius\Component\Product\Model\Product as BaseProduct;
19 18
 use Sylius\Component\Review\Model\ReviewInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getMetadataIdentifier()
34 34
     {
35
-        return $this->getMetadataClassIdentifier().'-'.$this->getId();
35
+        return $this->getMetadataClassIdentifier() . '-' . $this->getId();
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductInterface.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Component\Core\Model;
13 13
 
14
-use Doctrine\Common\Collections\Collection;
15
-use Sylius\Component\Addressing\Model\ZoneInterface;
16 14
 use Sylius\Component\Channel\Model\ChannelsAwareInterface;
17 15
 use Sylius\Component\Metadata\Model\MetadataSubjectInterface;
18 16
 use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface;
Please login to merge, or discard this 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/Core/Model/ProductVariantInterface.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -55,11 +55,13 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @param ProductVariantImageInterface $image
58
+     * @return void
58 59
      */
59 60
     public function addImage(ProductVariantImageInterface $image);
60 61
 
61 62
     /**
62 63
      * @param ProductVariantImageInterface $image
64
+     * @return void
63 65
      */
64 66
     public function removeImage(ProductVariantImageInterface $image);
65 67
 
@@ -70,6 +72,7 @@  discard block
 block discarded – undo
70 72
 
71 73
     /**
72 74
      * @param int $sold
75
+     * @return void
73 76
      */
74 77
     public function setSold($sold);
75 78
 
@@ -80,6 +83,7 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param float $weight
86
+     * @return void
83 87
      */
84 88
     public function setWeight($weight);
85 89
 
@@ -90,6 +94,7 @@  discard block
 block discarded – undo
90 94
 
91 95
     /**
92 96
      * @param float $width
97
+     * @return void
93 98
      */
94 99
     public function setWidth($width);
95 100
 
@@ -100,6 +105,7 @@  discard block
 block discarded – undo
100 105
 
101 106
     /**
102 107
      * @param float $height
108
+     * @return void
103 109
      */
104 110
     public function setHeight($height);
105 111
 
@@ -110,6 +116,7 @@  discard block
 block discarded – undo
110 116
 
111 117
     /**
112 118
      * @param float $depth
119
+     * @return void
113 120
      */
114 121
     public function setDepth($depth);
115 122
 
@@ -120,6 +127,7 @@  discard block
 block discarded – undo
120 127
 
121 128
     /**
122 129
      * @param int|null $originalPrice
130
+     * @return void
123 131
      */
124 132
     public function setOriginalPrice($originalPrice);
125 133
 
@@ -130,6 +138,7 @@  discard block
 block discarded – undo
130 138
 
131 139
     /**
132 140
      * @param TaxCategoryInterface $category
141
+     * @return void
133 142
      */
134 143
     public function setTaxCategory(TaxCategoryInterface $category = null);
135 144
 }
Please login to merge, or discard this 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.
src/Sylius/Component/Core/Model/TaxonInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,12 +20,13 @@
 block discarded – undo
20 20
 interface TaxonInterface extends VariableTaxonInterface
21 21
 {
22 22
     /**
23
-     * @return Collection|ProductInterface[]
23
+     * @return \Doctrine\Common\Collections\ArrayCollection
24 24
      */
25 25
     public function getProducts();
26 26
 
27 27
     /**
28 28
      * @param ProductInterface[] $products
29
+     * @return void
29 30
      */
30 31
     public function setProducts($products);
31 32
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Repository/ProductRepositoryInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
  */
24 24
 interface ProductRepositoryInterface extends BaseProductRepositoryInterface
25 25
 {
26
+    /**
27
+     * @return \Doctrine\ORM\QueryBuilder
28
+     */
26 29
     public function createListQueryBuilder();
27 30
 
28 31
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Resolver/DefaultShippingMethodResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Core\Model\ChannelInterface;
15
+use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
15 16
 use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException;
16 17
 use Sylius\Component\Shipping\Model\ShipmentInterface;
17
-use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
18 18
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
19 19
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
20 20
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.