Skip to content

Commit 7a5c7ea

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-96975: Remove __sleep and __wakeup from code
1 parent 34da7f4 commit 7a5c7ea

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/code/Magento/Eav/Model/Entity/Attribute.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute\AbstractAttribute im
3232
const ATTRIBUTE_CODE_MAX_LENGTH = 60;
3333

3434
/**
35-
* Attribute code min length.
35+
* Min accepted length of an attribute code.
3636
*/
3737
const ATTRIBUTE_CODE_MIN_LENGTH = 1;
3838

3939
/**
40-
* Cache tag
40+
* Tag to use for attributes caching.
4141
*/
4242
const CACHE_TAG = 'EAV_ATTRIBUTE';
4343

@@ -214,7 +214,7 @@ public function deleteEntity()
214214
/**
215215
* Load entity_attribute_id into $this by $this->attribute_set_id
216216
*
217-
* Save additional data.
217+
* @return $this
218218
*/
219219
public function loadEntityAttributeIdBySet()
220220
{

app/code/Magento/Store/Model/Store.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Store extends AbstractExtensibleModel implements
5353
const ENTITY = 'store';
5454

5555
/**
56-
* Custom entry point param
56+
* Parameter used to determine app context.
5757
*/
5858
const CUSTOM_ENTRY_POINT_PARAM = 'custom_entry_point';
5959

@@ -104,7 +104,7 @@ class Store extends AbstractExtensibleModel implements
104104
const ADMIN_CODE = 'admin';
105105

106106
/**
107-
* Cache tag
107+
* Tag to use to cache stores.
108108
*/
109109
const CACHE_TAG = 'store';
110110

lib/internal/Magento/Framework/DB/Select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Select extends \Zend_Db_Select
4242
const STRAIGHT_JOIN = 'straightjoin';
4343

4444
/**
45-
* Sql straight join
45+
* Straight join SQL directive.
4646
*/
4747
const SQL_STRAIGHT_JOIN = 'STRAIGHT_JOIN';
4848

0 commit comments

Comments
 (0)