Skip to content

Commit 12cc562

Browse files
author
Yu Tang
committed
MAGETWO-33659: Refactor Bundle module to use mutable data object interfaces
- Fix annotations
1 parent 8c2674d commit 12cc562

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

app/code/Magento/Bundle/Api/Data/LinkInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function setSku($sku);
3232
public function getOptionId();
3333

3434
/**
35-
* set option id
35+
* Set option id
3636
*
3737
* @param int $optionId
3838
* @return $this
@@ -62,7 +62,7 @@ public function setQty($qty);
6262
public function getPosition();
6363

6464
/**
65-
* Get position
65+
* Set position
6666
*
6767
* @param int $position
6868
* @return $this
@@ -93,7 +93,7 @@ public function setIsDefined($isDefined);
9393
public function getIsDefault();
9494

9595
/**
96-
* Get is default
96+
* Set is default
9797
*
9898
* @param bool $isDefault
9999
* @return $this

app/code/Magento/Bundle/Api/Data/OptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function setTitle($title);
4747
public function getRequired();
4848

4949
/**
50-
* set whether option is required
50+
* Set whether option is required
5151
*
5252
* @param bool $required
5353
* @return $this

app/code/Magento/Bundle/Model/Link.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function setSku($sku)
110110
}
111111

112112
/**
113-
* set option id
113+
* Set option id
114114
*
115115
* @param int $optionId
116116
* @return $this
@@ -132,7 +132,7 @@ public function setQty($qty)
132132
}
133133

134134
/**
135-
* Get position
135+
* Set position
136136
*
137137
* @param int $position
138138
* @return $this
@@ -154,7 +154,7 @@ public function setIsDefined($isDefined)
154154
}
155155

156156
/**
157-
* Get is default
157+
* Set is default
158158
*
159159
* @param bool $isDefault
160160
* @return $this

app/code/Magento/Bundle/Model/Option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function setTitle($title)
216216
}
217217

218218
/**
219-
* set whether option is required
219+
* Set whether option is required
220220
*
221221
* @param bool $required
222222
* @return $this

0 commit comments

Comments
 (0)