Skip to content

Commit 1bdaaba

Browse files
committed
Deprecate misspelled method and add corrected
1 parent c93b125 commit 1bdaaba

File tree

1 file changed

+10
-1
lines changed
  • app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit

1 file changed

+10
-1
lines changed

app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Js.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,21 @@ public function __construct(
3636
parent::__construct($context, $data);
3737
}
3838

39+
/**
40+
* @deprecated Misspelled method
41+
* @see getCompatibleInputTypes
42+
*/
43+
public function getComaptibleInputTypes()
44+
{
45+
return $this->getCompatibleInputTypes();
46+
}
47+
3948
/**
4049
* Get compatible input types.
4150
*
4251
* @return array
4352
*/
44-
public function getComaptibleInputTypes()
53+
public function getCompatibleInputTypes()
4554
{
4655
return $this->inputtype->getVolatileInputTypes();
4756
}

0 commit comments

Comments
 (0)