Skip to content

Commit d43fe43

Browse files
committed
ACPT-1052: Some Luma Storefront Scenarios Are Broken
1 parent 6355a71 commit d43fe43

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

lib/internal/Magento/Framework/DataObject.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*/
66
namespace Magento\Framework;
77

8-
use Magento\Framework\ObjectManager\ResetAfterRequestInterface;
9-
108
/**
119
* Universal data container with array access implementation
1210
*
@@ -15,7 +13,7 @@
1513
* @since 100.0.2
1614
*/
1715
#[\AllowDynamicProperties] //@phpstan-ignore-line
18-
class DataObject implements \ArrayAccess, ResetAfterRequestInterface
16+
class DataObject implements \ArrayAccess
1917
{
2018
/**
2119
* Object attributes
@@ -569,15 +567,4 @@ function ($v) {
569567
}
570568
);
571569
}
572-
573-
/**
574-
* @inheritDoc
575-
*/
576-
public function _resetState(): void
577-
{
578-
// @todo
579-
// if ("Magento\Framework\DataObject" !== get_class($this)) {
580-
// throw new \Exception('You should not create "' . get_class($this) . '"model"" with OM');
581-
// }
582-
}
583570
}

0 commit comments

Comments
 (0)