Passed
Push — master ( 7a7cfe...9ace4b )
by Mark
35:26
created
SprykerTest/Zed/Shipment/Business/Model/ShipmentTaxRateCalculationTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
183 183
      * @param array|null $mockData
184 184
      *
185
-     * @return float
185
+     * @return integer
186 186
      */
187 187
     protected function getEffectiveTaxRateByQuoteTransfer(QuoteTransfer $quoteTransfer, $mockData)
188 188
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     /**
245 245
      * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
246 246
      *
247
-     * @return float
247
+     * @return integer
248 248
      */
249 249
     protected function getExpenseItemsTaxRateAverage(QuoteTransfer $quoteTransfer)
250 250
     {
Please login to merge, or discard this patch.
StateMachine/src/Spryker/Zed/StateMachine/Business/Process/Process.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -331,7 +331,7 @@
 block discarded – undo
331 331
     }
332 332
 
333 333
     /**
334
-     * @param array $transitions
334
+     * @param TransitionInterface[] $transitions
335 335
      * @param array $eventsBySource
336 336
      * @param \Spryker\Zed\StateMachine\Business\Process\EventInterface $event
337 337
      *
Please login to merge, or discard this patch.
src/Spryker/Zed/StateMachine/Business/StateMachine/Condition.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
     }
275 275
 
276 276
     /**
277
-     * @param array $transitions
277
+     * @param \Spryker\Zed\StateMachine\Business\Process\TransitionInterface[] $transitions
278 278
      *
279 279
      * @return array
280 280
      */
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,6 @@
 block discarded – undo
201 201
      * @param string $stateMachineName
202 202
      * @param string[] $states
203 203
      * @param \Spryker\Zed\StateMachine\Business\Process\ProcessInterface $process
204
-
205 204
      * @return \Generated\Shared\Transfer\StateMachineItemTransfer[]
206 205
      */
207 206
     protected function getItemsByStatesAndProcessName(
Please login to merge, or discard this patch.
src/Spryker/Zed/StateMachine/Business/StateMachine/StateUpdater.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param array $sourceStateBuffer
117
+     * @param ProcessInterface[] $sourceStateBuffer
118 118
      * @param \Generated\Shared\Transfer\StateMachineItemTransfer $stateMachineItemTransfer
119 119
      *
120 120
      * @throws \Spryker\Zed\StateMachine\Business\Exception\StateMachineException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         }
74 74
 
75 75
         foreach ($stateMachineItems as $stateMachineItemTransfer) {
76
-            $this->handleDatabaseTransaction(function () use ($processes, $sourceStates, $stateMachineItemTransfer) {
76
+            $this->handleDatabaseTransaction(function() use ($processes, $sourceStates, $stateMachineItemTransfer) {
77 77
                 $this->executeUpdateItemStateTransaction($processes, $sourceStates, $stateMachineItemTransfer);
78 78
             });
79 79
         }
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/StateMachine/Business/Lock/ItemLockTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Orm\Zed\StateMachine\Persistence\SpyStateMachineLock
114
+     * @return null|SpyStateMachineLock
115 115
      */
116 116
     protected function createStateMachineItemLockEntityMock()
117 117
     {
Please login to merge, or discard this patch.
tests/SprykerTest/Zed/StateMachine/Business/StateMachine/ConditionTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param bool $conditionCheckResult
110 110
      *
111
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\StateMachine\Business\StateMachine\HandlerResolverInterface
111
+     * @return \Spryker\Zed\StateMachine\Business\StateMachine\HandlerResolverInterface
112 112
      */
113 113
     protected function createStateMachineResolverMock($conditionCheckResult)
114 114
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 namespace SprykerTest\Zed\StateMachine\Business\StateMachine;
8 8
 
9 9
 use Generated\Shared\Transfer\StateMachineItemTransfer;
10
-
11 10
 use Spryker\Zed\StateMachine\Business\Process\State;
12 11
 use Spryker\Zed\StateMachine\Business\Process\Transition;
13 12
 use Spryker\Zed\StateMachine\Business\StateMachine\Condition;
Please login to merge, or discard this patch.
SprykerTest/Zed/StateMachine/Business/StateMachine/StateUpdaterTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     }
142 142
 
143 143
     /**
144
-     * @return \Spryker\Zed\StateMachine\Business\Process\Process[]
144
+     * @return \Spryker\Zed\StateMachine\Business\Process\ProcessInterface[]
145 145
      */
146 146
     protected function createProcesses()
147 147
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @return \Spryker\Zed\StateMachine\Business\Process\State[]
158
+     * @return string[]
159 159
      */
160 160
     protected function createSourceStateBuffer()
161 161
     {
Please login to merge, or discard this patch.
tests/SprykerTest/Yves/StepEngine/Form/FormCollectionHandlerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     }
202 202
 
203 203
     /**
204
-     * @param array $formCollectionHandlerMethods
204
+     * @param string[] $formCollectionHandlerMethods
205 205
      * @param array $arguments
206 206
      *
207 207
      * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Yves\StepEngine\Form\FormCollectionHandlerInterface
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     }
219 219
 
220 220
     /**
221
-     * @param array $formFactoryMethods
221
+     * @param string[] $formFactoryMethods
222 222
      *
223 223
      * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\Form\FormFactoryInterface
224 224
      */
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
     }
240 240
 
241 241
     /**
242
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Shared\Kernel\Transfer\AbstractTransfer
242
+     * @return AbstractTransfer
243 243
      */
244 244
     private function getDataTransferMock()
245 245
     {
Please login to merge, or discard this patch.
StepEngine/tests/SprykerTest/Yves/StepEngine/Process/StepEngineTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Yves\StepEngine\Form\FormCollectionHandlerInterface
165
+     * @return null|FormCollectionHandlerInterface
166 166
      */
167 167
     protected function getFormCollectionHandlerMock()
168 168
     {
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * @param \Spryker\Shared\Kernel\Transfer\AbstractTransfer|null $dataTransfer
174 174
      *
175
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Yves\StepEngine\Dependency\DataContainer\DataContainerInterface
175
+     * @return DataContainerInterface
176 176
      */
177 177
     private function getDataContainerMock(AbstractTransfer $dataTransfer = null)
178 178
     {
Please login to merge, or discard this patch.