Skip to content

Commit b32c65e

Browse files
committed
Code Style. Unit tests.
1 parent f38ceaf commit b32c65e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/Ui/Model/Export/MetadataProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Magento\Framework\Stdlib\DateTime\TimezoneInterface;
1616

1717
/**
18+
* Metadata Provider
1819
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1920
*/
2021
class MetadataProvider
@@ -84,7 +85,7 @@ protected function getColumnsComponent(UiComponentInterface $component)
8485
return $childComponent;
8586
}
8687
}
87-
throw new \Exception('No columns found');
88+
throw new \Exception('No columns found'); // @codingStandardsIgnoreLine
8889
}
8990

9091
/**

app/code/Magento/Ui/Test/Unit/Model/Export/MetadataProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public function getColumnsDataProvider(): array
101101
[['Name'],['Name']],
102102
[['Id'],['Id']],
103103
[['id'],['id']],
104-
[['IDTEST'],['"IDTEST"']],
105-
[['ID TEST'],['"ID TEST"']],
104+
[['IDTEST'],['IDTEST']],
105+
[['ID TEST'],['ID TEST']],
106106
];
107107
}
108108

0 commit comments

Comments
 (0)