Skip to content

Commit 0e44549

Browse files
committed
MAGETWO-84038: Integrate tool for handle @deprecate annotations to S1 and S3 builds
- update dock-block information in php classes
1 parent 8f9fba4 commit 0e44549

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/Braintree/Model/Adapter/BraintreeAdapter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct($merchantId, $publicKey, $privateKey, $environment)
4848
* Initializes credentials.
4949
*
5050
* @return void
51-
* @deprecated is not used anymore
51+
* @deprecated 100.2.2 is not used anymore
5252
*/
5353
protected function initCredentials()
5454
{

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ protected function _setResourceModel($resourceName, $collectionName = null)
464464
*
465465
* @throws \Magento\Framework\Exception\LocalizedException
466466
* @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb
467-
* @deprecated because resource models should be used directly
467+
* @deprecated 101.0.0 because resource models should be used directly
468468
*/
469469
protected function _getResource()
470470
{
@@ -493,7 +493,7 @@ public function getResourceName()
493493
* @TODO MAGETWO-23541: Incorrect dependencies between Model\AbstractModel and Data\Collection\Db from Framework
494494
* @throws \Magento\Framework\Exception\LocalizedException
495495
* @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
496-
* @deprecated because collections should be used directly via factory
496+
* @deprecated 101.0.0 because collections should be used directly via factory
497497
*/
498498
public function getResourceCollection()
499499
{
@@ -514,7 +514,7 @@ public function getResourceCollection()
514514
*
515515
* @TODO MAGETWO-23541: Incorrect dependencies between Model\AbstractModel and Data\Collection\Db from Framework
516516
* @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
517-
* @deprecated because collections should be used directly via factory
517+
* @deprecated 101.0.0 because collections should be used directly via factory
518518
*/
519519
public function getCollection()
520520
{
@@ -885,7 +885,7 @@ public function afterDeleteCommit()
885885
* Retrieve model resource
886886
*
887887
* @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb
888-
* @deprecated because resource models should be used directly
888+
* @deprecated 101.0.0 because resource models should be used directly
889889
*/
890890
public function getResource()
891891
{

0 commit comments

Comments
 (0)