Skip to content

Commit 15668f2

Browse files
committed
MQE-610: [PHPMD] Reduce Cyclomatic Complexity in Problem Methods
fixing unit tests
1 parent 37eb197 commit 15668f2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Objects/EntityDataObject.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ public function getDataByName($name, $uniquenessFormat)
191191
* @throws TestFrameworkException
192192
* @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
193193
*/
194-
195194
private function resolveDataReferences($name, $uniquenessFormat)
196195
{
197196
$name_lower = strtolower($name);

src/Magento/FunctionalTestingFramework/Extension/PageReadinessExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function beforeStep(StepEvent $e)
131131
* Check if page has changed, if so reset metric tracking
132132
*
133133
* @param Step $step
134-
* return void
134+
* @return void
135135
*/
136136
private function resetMetricTracker($step)
137137
{
@@ -152,7 +152,7 @@ private function resetMetricTracker($step)
152152

153153
/**
154154
* Wait for page readiness.
155-
* @param $metrics
155+
* @param array $metrics
156156
* @return void
157157
* @throws \Codeception\Exception\ModuleRequireException
158158
* @throws \Facebook\WebDriver\Exception\NoSuchElementException

0 commit comments

Comments
 (0)