Skip to content

Commit

Permalink
MAGETWO-84038: Integrate tool for handle @deprecate annotations to S1…
Browse files Browse the repository at this point in the history
… and S3 builds

- update dock-block information in php classes
  • Loading branch information
andimov committed Dec 11, 2017
1 parent 8f9fba4 commit 0e44549
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct($merchantId, $publicKey, $privateKey, $environment)
* Initializes credentials.
*
* @return void
* @deprecated is not used anymore
* @deprecated 100.2.2 is not used anymore
*/
protected function initCredentials()
{
Expand Down
8 changes: 4 additions & 4 deletions lib/internal/Magento/Framework/Model/AbstractModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ protected function _setResourceModel($resourceName, $collectionName = null)
*
* @throws \Magento\Framework\Exception\LocalizedException
* @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb
* @deprecated because resource models should be used directly
* @deprecated 101.0.0 because resource models should be used directly
*/
protected function _getResource()
{
Expand Down Expand Up @@ -493,7 +493,7 @@ public function getResourceName()
* @TODO MAGETWO-23541: Incorrect dependencies between Model\AbstractModel and Data\Collection\Db from Framework
* @throws \Magento\Framework\Exception\LocalizedException
* @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
* @deprecated because collections should be used directly via factory
* @deprecated 101.0.0 because collections should be used directly via factory
*/
public function getResourceCollection()
{
Expand All @@ -514,7 +514,7 @@ public function getResourceCollection()
*
* @TODO MAGETWO-23541: Incorrect dependencies between Model\AbstractModel and Data\Collection\Db from Framework
* @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
* @deprecated because collections should be used directly via factory
* @deprecated 101.0.0 because collections should be used directly via factory
*/
public function getCollection()
{
Expand Down Expand Up @@ -885,7 +885,7 @@ public function afterDeleteCommit()
* Retrieve model resource
*
* @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb
* @deprecated because resource models should be used directly
* @deprecated 101.0.0 because resource models should be used directly
*/
public function getResource()
{
Expand Down

0 comments on commit 0e44549

Please sign in to comment.