File tree Expand file tree Collapse file tree 5 files changed +23
-5
lines changed
Eav/Block/Adminhtml/Attribute/Edit
Review/Controller/Adminhtml Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,21 @@ public function __construct(
36
36
parent ::__construct ($ context , $ data );
37
37
}
38
38
39
+ /**
40
+ * @deprecated Misspelled method
41
+ * @see getCompatibleInputTypes
42
+ */
43
+ public function getComaptibleInputTypes ()
44
+ {
45
+ return $ this ->getCompatibleInputTypes ();
46
+ }
47
+
39
48
/**
40
49
* Get compatible input types.
41
50
*
42
51
* @return array
43
52
*/
44
- public function getComaptibleInputTypes ()
53
+ public function getCompatibleInputTypes ()
45
54
{
46
55
return $ this ->inputtype ->getVolatileInputTypes ();
47
56
}
Original file line number Diff line number Diff line change @@ -41,9 +41,18 @@ public function __construct(
41
41
}
42
42
43
43
/**
44
- * @return void
44
+ * @deprecated Misspelled method
45
+ * @see initEntityId
45
46
*/
46
47
protected function initEnityId ()
48
+ {
49
+ $ this ->initEntityId ();
50
+ }
51
+
52
+ /**
53
+ * @return void
54
+ */
55
+ protected function initEntityId ()
47
56
{
48
57
$ this ->coreRegistry ->register (
49
58
'entityId ' ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Edit extends RatingController
15
15
*/
16
16
public function execute ()
17
17
{
18
- $ this ->initEnityId ();
18
+ $ this ->initEntityId ();
19
19
/** @var \Magento\Review\Model\Rating $ratingModel */
20
20
$ ratingModel = $ this ->_objectManager ->create (\Magento \Review \Model \Rating::class);
21
21
if ($ this ->getRequest ()->getParam ('id ' )) {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Index extends RatingController
15
15
*/
16
16
public function execute ()
17
17
{
18
- $ this ->initEnityId ();
18
+ $ this ->initEntityId ();
19
19
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
20
20
$ resultPage = $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
21
21
$ resultPage ->setActiveMenu ('Magento_Review::catalog_reviews_ratings_ratings ' );
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Save extends RatingController
17
17
*/
18
18
public function execute ()
19
19
{
20
- $ this ->initEnityId ();
20
+ $ this ->initEntityId ();
21
21
/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
22
22
$ resultRedirect = $ this ->resultFactory ->create (ResultFactory::TYPE_REDIRECT );
23
23
if ($ this ->getRequest ()->getPostValue ()) {
You can’t perform that action at this time.
0 commit comments