Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
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/TranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param null|TranslatableInterface $translatable
26
+     * @return void
26 27
      */
27 28
     public function setTranslatable(TranslatableInterface $translatable = null);
28 29
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
 
34 35
     /**
35 36
      * @param string $locale
37
+     * @return void
36 38
      */
37 39
     public function setLocale($locale);
38 40
 }
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/Review/Model/ReviewerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string $email
28
+     * @return void
28 29
      */
29 30
     public function setEmail($email);
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param string $firstName
39
+     * @return void
38 40
      */
39 41
     public function setFirstName($firstName);
40 42
 
@@ -45,6 +47,7 @@  discard block
 block discarded – undo
45 47
 
46 48
     /**
47 49
      * @param string $lastName
50
+     * @return void
48 51
      */
49 52
     public function setLastName($lastName);
50 53
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/ReviewInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param string $title
29
+     * @return void
29 30
      */
30 31
     public function setTitle($title);
31 32
 
@@ -36,6 +37,7 @@  discard block
 block discarded – undo
36 37
 
37 38
     /**
38 39
      * @param int $rating
40
+     * @return void
39 41
      */
40 42
     public function setRating($rating);
41 43
 
@@ -46,6 +48,7 @@  discard block
 block discarded – undo
46 48
 
47 49
     /**
48 50
      * @param string $comment
51
+     * @return void
49 52
      */
50 53
     public function setComment($comment);
51 54
 
@@ -56,6 +59,7 @@  discard block
 block discarded – undo
56 59
 
57 60
     /**
58 61
      * @param ReviewerInterface $author
62
+     * @return void
59 63
      */
60 64
     public function setAuthor(ReviewerInterface $author = null);
61 65
 
@@ -66,6 +70,7 @@  discard block
 block discarded – undo
66 70
 
67 71
     /**
68 72
      * @param string $status
73
+     * @return void
69 74
      */
70 75
     public function setStatus($status);
71 76
 
@@ -81,6 +86,7 @@  discard block
 block discarded – undo
81 86
 
82 87
     /**
83 88
      * @param ReviewableInterface $reviewSubject
89
+     * @return void
84 90
      */
85 91
     public function setReviewSubject(ReviewableInterface $reviewSubject);
86 92
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param string $state
40
+     * @return void
40 41
      */
41 42
     public function setState($state);
42 43
 
@@ -47,6 +48,7 @@  discard block
 block discarded – undo
47 48
 
48 49
     /**
49 50
      * @param ShippingMethodInterface $method
51
+     * @return void
50 52
      */
51 53
     public function setMethod(ShippingMethodInterface $method = null);
52 54
 
@@ -57,11 +59,13 @@  discard block
 block discarded – undo
57 59
 
58 60
     /**
59 61
      * @param ShipmentUnitInterface $unit
62
+     * @return void
60 63
      */
61 64
     public function addUnit(ShipmentUnitInterface $unit);
62 65
 
63 66
     /**
64 67
      * @param ShipmentUnitInterface $unit
68
+     * @return void
65 69
      */
66 70
     public function removeUnit(ShipmentUnitInterface $unit);
67 71
 
@@ -79,6 +83,7 @@  discard block
 block discarded – undo
79 83
 
80 84
     /**
81 85
      * @param string $tracking
86
+     * @return void
82 87
      */
83 88
     public function setTracking($tracking);
84 89
 
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingCategoryInterface.php 1 patch
Doc Comments   +2 added 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 $description
46
+     * @return void
45 47
      */
46 48
     public function setDescription($description);
47 49
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxRateInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param null|TaxCategoryInterface $category
30
+     * @return void
30 31
      */
31 32
     public function setCategory(TaxCategoryInterface $category = null);
32 33
 
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param string $name
41
+     * @return void
40 42
      */
41 43
     public function setName($name);
42 44
 
@@ -52,6 +54,7 @@  discard block
 block discarded – undo
52 54
 
53 55
     /**
54 56
      * @param float $amount
57
+     * @return void
55 58
      */
56 59
     public function setAmount($amount);
57 60
 
@@ -62,6 +65,7 @@  discard block
 block discarded – undo
62 65
 
63 66
     /**
64 67
      * @param bool $includedInPrice
68
+     * @return void
65 69
      */
66 70
     public function setIncludedInPrice($includedInPrice);
67 71
 
@@ -72,6 +76,7 @@  discard block
 block discarded – undo
72 76
 
73 77
     /**
74 78
      * @param string $calculator
79
+     * @return void
75 80
      */
76 81
     public function setCalculator($calculator);
77 82
 
Please login to merge, or discard this patch.