Skip to content

Commit 0972b86

Browse files
committed
Removed unused variables
1 parent f0779ac commit 0972b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Exceptions/Collector/ExceptionCollector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function throwException()
5353
private function formatErrors($errors)
5454
{
5555
$flattenedErrors = [];
56-
foreach ($errors as $key => $errorMsg) {
56+
foreach ($errors as $errorMsg) {
5757
if (is_array($errorMsg)) {
5858
$flattenedErrors = array_merge($flattenedErrors, $this->formatErrors($errorMsg));
5959
continue;

0 commit comments

Comments
 (0)