Skip to content

Commit 907773f

Browse files
author
Yushkin, Dmytro
committed
MAGETWO-37956: It's unable to create Customer from Backend if there is custom Attribute
- fix for static tests
1 parent 9a00651 commit 907773f

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

app/code/Magento/Customer/Model/Customer/DataProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ public function addFilter($field, $condition = null)
223223
* @param string|array $field
224224
* @param string|null $alias
225225
* @return void
226+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
226227
*/
227228
public function addField($field, $alias = null)
228229
{
@@ -260,6 +261,7 @@ public function setLimit($offset, $size)
260261
* @param string|null $field
261262
* @param bool $isAlias Alias identifier
262263
* @return void
264+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
263265
*/
264266
public function removeField($field, $isAlias = false)
265267
{

app/code/Magento/Ui/Component/AbstractComponent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ public function getData($key = '', $index = null)
226226
*
227227
* @param array $dataSource
228228
* @return void
229+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
229230
*/
230231
public function prepareDataSource(array & $dataSource)
231232
{

lib/internal/Magento/Framework/View/Element/UiComponent/Config/Provider/Component/Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getComponentData($name)
7676
throw new LocalizedException(
7777
new Phrase(
7878
'The requested component ("' . $name . '") is not found. '
79-
. 'Before using, you must add the implementation.'
79+
. 'Before using, you must add the implementation.'
8080
)
8181
);
8282
}

0 commit comments

Comments
 (0)