Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
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/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/Model/TranslatableTrait.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
     /**
88 88
      * {@inheritdoc}
89
+     * @param string $currentLocale
89 90
      */
90 91
     public function setCurrentLocale($currentLocale)
91 92
     {
@@ -102,6 +103,7 @@  discard block
 block discarded – undo
102 103
 
103 104
     /**
104 105
      * {@inheritdoc}
106
+     * @param string $fallbackLocale
105 107
      */
106 108
     public function setFallbackLocale($fallbackLocale)
107 109
     {
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/Storage/StorageInterface.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * Returns data from storage or the default one.
30 30
      *
31 31
      * @param string $key
32
-     * @param mixed  $default
32
+     * @param string  $default
33 33
      *
34 34
      * @return mixed
35 35
      */
@@ -39,7 +39,8 @@  discard block
 block discarded – undo
39 39
      * Sets data in storage.
40 40
      *
41 41
      * @param string $key
42
-     * @param mixed  $value
42
+     * @param string  $value
43
+     * @return void
43 44
      */
44 45
     public function setData($key, $value);
45 46
 
@@ -47,6 +48,7 @@  discard block
 block discarded – undo
47 48
      * Remove data from storage.
48 49
      *
49 50
      * @param string $key
51
+     * @return void
50 52
      */
51 53
     public function removeData($key);
52 54
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/TaxonInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param null|TaxonInterface $taxon
44
+     * @return void
44 45
      */
45 46
     public function setParent(TaxonInterface $taxon = null);
46 47
 
@@ -63,11 +64,13 @@  discard block
 block discarded – undo
63 64
 
64 65
     /**
65 66
      * @param TaxonInterface $taxon
67
+     * @return void
66 68
      */
67 69
     public function addChild(TaxonInterface $taxon);
68 70
 
69 71
     /**
70 72
      * @param TaxonInterface $taxon
73
+     * @return void
71 74
      */
72 75
     public function removeChild(TaxonInterface $taxon);
73 76
 
@@ -78,6 +81,7 @@  discard block
 block discarded – undo
78 81
 
79 82
     /**
80 83
      * @param string $name
84
+     * @return void
81 85
      */
82 86
     public function setName($name);
83 87
 
@@ -88,6 +92,7 @@  discard block
 block discarded – undo
88 92
 
89 93
     /**
90 94
      * @param string $permalink
95
+     * @return void
91 96
      */
92 97
     public function setPermalink($permalink);
93 98
 
@@ -98,6 +103,7 @@  discard block
 block discarded – undo
98 103
 
99 104
     /**
100 105
      * @param int $left
106
+     * @return void
101 107
      */
102 108
     public function setLeft($left);
103 109
 
@@ -108,6 +114,7 @@  discard block
 block discarded – undo
108 114
 
109 115
     /**
110 116
      * @param int $right
117
+     * @return void
111 118
      */
112 119
     public function setRight($right);
113 120
 
@@ -118,6 +125,7 @@  discard block
 block discarded – undo
118 125
 
119 126
     /**
120 127
      * @param int $level
128
+     * @return void
121 129
      */
122 130
     public function setLevel($level);
123 131
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Canonicalizer/CanonicalizerInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,5 +16,10 @@
 block discarded – undo
16 16
  */
17 17
 interface CanonicalizerInterface
18 18
 {
19
+    /**
20
+     * @param string $string
21
+     *
22
+     * @return string
23
+     */
19 24
     public function canonicalize($string);
20 25
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/CustomerInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param  string $email
41
+     * @return void
41 42
      */
42 43
     public function setEmail($email);
43 44
 
@@ -50,6 +51,7 @@  discard block
 block discarded – undo
50 51
 
51 52
     /**
52 53
      * @param  string $emailCanonical
54
+     * @return void
53 55
      */
54 56
     public function setEmailCanonical($emailCanonical);
55 57
 
@@ -67,6 +69,7 @@  discard block
 block discarded – undo
67 69
 
68 70
     /**
69 71
      * @param  string $firstName
72
+     * @return void
70 73
      */
71 74
     public function setFirstName($firstName);
72 75
 
@@ -77,6 +80,7 @@  discard block
 block discarded – undo
77 80
 
78 81
     /**
79 82
      * @param  string $lastName
83
+     * @return void
80 84
      */
81 85
     public function setLastName($lastName);
82 86
 
@@ -87,6 +91,7 @@  discard block
 block discarded – undo
87 91
 
88 92
     /**
89 93
      * @param  \DateTime $birthday
94
+     * @return void
90 95
      */
91 96
     public function setBirthday(\DateTime $birthday = null);
92 97
 
@@ -99,6 +104,7 @@  discard block
 block discarded – undo
99 104
      * You should use interface constants for that.
100 105
      *
101 106
      * @param  string $gender
107
+     * @return void
102 108
      */
103 109
     public function setGender($gender);
104 110
 
@@ -119,6 +125,7 @@  discard block
 block discarded – undo
119 125
 
120 126
     /**
121 127
      * @param string $phoneNumber
128
+     * @return void
122 129
      */
123 130
     public function setPhoneNumber($phoneNumber);
124 131
 }
Please login to merge, or discard this patch.