Skip to content

Commit 88012bc

Browse files
author
Robert He
committed
Merge branch 'MAGETWO-54341-add-deprecated-annotation' of https://github.com/magento-extensibility/magento2ce into develop
2 parents 4818c67 + 7396ce3 commit 88012bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/Model/AbstractModel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ public function getCollection()
523523
* @param integer $modelId
524524
* @param null|string $field
525525
* @return $this
526+
* @deprecated
526527
*/
527528
public function load($modelId, $field = null)
528529
{
@@ -623,6 +624,7 @@ public function setHasDataChanges($flag)
623624
*
624625
* @return $this
625626
* @throws \Exception
627+
* @deprecated
626628
*/
627629
public function save()
628630
{
@@ -807,6 +809,7 @@ public function afterSave()
807809
*
808810
* @return $this
809811
* @throws \Exception
812+
* @deprecated
810813
*/
811814
public function delete()
812815
{

0 commit comments

Comments
 (0)