Passed
Push — master ( 7a7cfe...9ace4b )
by Mark
35:26
created
Calculation/src/Spryker/Zed/Calculation/Business/CalculationFacade.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @api
107 107
      *
108
-     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer
108
+     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer
109 109
      *
110 110
      * @return void
111 111
      */
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @api
123 123
      *
124
-     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer
124
+     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer
125 125
      *
126 126
      * @return void
127 127
      */
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      *
154 154
      * @api
155 155
      *
156
-     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer
156
+     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer
157 157
      *
158 158
      * @return void
159 159
      */
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      *
170 170
      * @api
171 171
      *
172
-     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer
172
+     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer
173 173
      *
174 174
      * @return void
175 175
      */
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      *
218 218
      * @api
219 219
      *
220
-     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer
220
+     * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer
221 221
      *
222 222
      * @return void
223 223
      */
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,8 @@
 block discarded – undo
192 192
     public function calculateExpenseTotal(CalculableObjectTransfer $calculableObjectTransfer)
193 193
     {
194 194
         $this->getFactory()
195
-           ->createExpenseTotalCalculator()
196
-           ->recalculate($calculableObjectTransfer);
195
+            ->createExpenseTotalCalculator()
196
+            ->recalculate($calculableObjectTransfer);
197 197
     }
198 198
 
199 199
     /**
Please login to merge, or discard this patch.
Bundles/Cart/src/Spryker/Client/Cart/CartClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      *
140 140
      * @api
141 141
      *
142
-     * @param \ArrayObject|\Generated\Shared\Transfer\ItemTransfer[] $items
142
+     * @param ArrayObject $items
143 143
      *
144 144
      * @return \Generated\Shared\Transfer\QuoteTransfer
145 145
      */
Please login to merge, or discard this patch.
Bundles/Category/src/Spryker/Zed/Category/Business/CategoryFacade.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@
 block discarded – undo
408 408
      *
409 409
      * @deprecated Will be removed with next major release
410 410
      *
411
-     * @return bool
411
+     * @return string|false
412 412
      */
413 413
     public function renderCategoryTreeVisual()
414 414
     {
Please login to merge, or discard this patch.
Category/src/Spryker/Zed/Category/Business/Manager/NodeUrlManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
      * @param int $idCategoryNode
217 217
      * @param \Generated\Shared\Transfer\LocaleTransfer $localeTransfer
218 218
      *
219
-     * @return int
219
+     * @return boolean
220 220
      */
221 221
     protected function hasCategoryNodeUrl($idCategoryNode, LocaleTransfer $localeTransfer)
222 222
     {
Please login to merge, or discard this patch.
Bundles/Category/src/Spryker/Zed/Category/Business/Model/CategoryWriter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
 
190 190
     /**
191 191
      * @param \Generated\Shared\Transfer\CategoryTransfer $categoryTransfer
192
-     * @param \Generated\Shared\Transfer\LocaleTransfer $localeTransfer
192
+     * @param null|LocaleTransfer $localeTransfer
193 193
      * @param \Orm\Zed\Category\Persistence\SpyCategoryAttribute $categoryAttributeEntity
194 194
      *
195 195
      * @return void
Please login to merge, or discard this patch.
src/Spryker/Zed/Category/Business/Renderer/CategoryTreeRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return bool
58
+     * @return string|false
59 59
      */
60 60
     public function render()
61 61
     {
Please login to merge, or discard this patch.
Category/src/Spryker/Zed/Category/Communication/Form/CategoryType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @param array $formPlugins
91
+     * @param \Spryker\Zed\Category\Dependency\Plugin\CategoryFormPluginInterface[] $formPlugins
92 92
      *
93 93
      * @return void
94 94
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                 new NotBlank(),
111 111
                 new Callback([
112 112
                     'methods' => [
113
-                        function ($key, ExecutionContextInterface $context) use ($categoryQueryContainer) {
113
+                        function($key, ExecutionContextInterface $context) use ($categoryQueryContainer) {
114 114
                             $data = $context->getRoot()->getData();
115 115
 
116 116
                             $exists = false;
@@ -220,10 +220,10 @@  discard block
 block discarded – undo
220 220
         ]);
221 221
 
222 222
         $builder->get(static::FIELD_EXTRA_PARENTS)->addModelTransformer(new CallbackTransformer(
223
-            function ($extraParents) {
223
+            function($extraParents) {
224 224
                 return (array)$extraParents;
225 225
             },
226
-            function ($extraParents) {
226
+            function($extraParents) {
227 227
                 return new ArrayObject($extraParents);
228 228
             }
229 229
         ));
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/Category/Business/CategoryNode/CategoryNodeTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * @param string[] $methodsToMock
111 111
      *
112
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Category\Business\Model\CategoryToucher
112
+     * @return CategoryToucher
113 113
      */
114 114
     protected function createCategoryToucherMock(array $methodsToMock)
115 115
     {
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
             ->expects($this->exactly(5))
53 53
             ->method('touchCategoryNodeActive')
54 54
             ->withConsecutive(
55
-                [$this->equalTo(static::CATEGORY_NODE_ID_NOTEBOOKS)],       // Child
55
+                [$this->equalTo(static::CATEGORY_NODE_ID_NOTEBOOKS)], // Child
56 56
                 [$this->equalTo(static::CATEGORY_NODE_ID_PC_WORKSTATIONS)], // Child
57
-                [$this->equalTo(static::CATEGORY_NODE_ID_TABLETS)],         // Child
58
-                [$this->equalTo(static::CATEGORY_NODE_ID_ROOT)],            // Root (Demoshop)
57
+                [$this->equalTo(static::CATEGORY_NODE_ID_TABLETS)], // Child
58
+                [$this->equalTo(static::CATEGORY_NODE_ID_ROOT)], // Root (Demoshop)
59 59
                 [$this->equalTo(static::CATEGORY_NODE_ID_COMPUTER)]         // Self
60 60
             );
61 61
 
@@ -74,11 +74,11 @@  discard block
 block discarded – undo
74 74
     {
75 75
         $touchedIds = [];
76 76
         $expectedTouchedIds = [
77
-            static::CATEGORY_NODE_ID_CAMERAS_CAMCORDERS,    // parent
78
-            static::CATEGORY_NODE_ID_ROOT,                  // root
79
-            static::CATEGORY_NODE_ID_TABLETS,               // self
80
-            static::CATEGORY_NODE_ID_ROOT,                  // root
81
-            static::CATEGORY_NODE_ID_COMPUTER,              // parent
77
+            static::CATEGORY_NODE_ID_CAMERAS_CAMCORDERS, // parent
78
+            static::CATEGORY_NODE_ID_ROOT, // root
79
+            static::CATEGORY_NODE_ID_TABLETS, // self
80
+            static::CATEGORY_NODE_ID_ROOT, // root
81
+            static::CATEGORY_NODE_ID_COMPUTER, // parent
82 82
         ];
83 83
 
84 84
         $toucherMock = $this->createCategoryToucherMock(['touchCategoryNodeActive']);
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             ->expects($this->exactly(5))
87 87
             ->method('touchCategoryNodeActive')
88 88
             ->will($this->returnCallback(
89
-                function ($idTouched) use (&$touchedIds) {
89
+                function($idTouched) use (&$touchedIds) {
90 90
                     $touchedIds[] = $idTouched;
91 91
                 }
92 92
             ));
Please login to merge, or discard this patch.
Zed/CategoryDataFeed/Persistence/CategoryDataFeedQueryContainerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @param array $tablesArray
158
+     * @param string[] $tablesArray
159 159
      *
160 160
      * @return array
161 161
      */
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return array
171
+     * @return string[]
172 172
      */
173 173
     protected function getDefaultJoinedTables()
174 174
     {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     }
180 180
 
181 181
     /**
182
-     * @return array
182
+     * @return string[]
183 183
      */
184 184
     protected function getProductJoinedTables()
185 185
     {
Please login to merge, or discard this patch.