Skip to content

Commit f30a409

Browse files
ENGCOM-3331: Fixed annotations #18946
- Merge Pull Request #18946 from sreichel/magento2:develop/fix/annotation-1 - Merged commits: 1. fbca4dd 2. 2f5fc97 3. 23ad12a
2 parents da1a96c + 23ad12a commit f30a409

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

app/code/Magento/Catalog/Model/AbstractModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function isLockedAttribute($attributeCode)
179179
*
180180
* @param string|array $key
181181
* @param mixed $value
182-
* @return \Magento\Framework\DataObject
182+
* @return $this
183183
*/
184184
public function setData($key, $value = null)
185185
{

app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ public function addPriceData($customerGroupId = null, $websiteId = null)
15341534
/**
15351535
* Add attribute to filter
15361536
*
1537-
* @param \Magento\Eav\Model\Entity\Attribute\AbstractAttribute|string $attribute
1537+
* @param \Magento\Eav\Model\Entity\Attribute\AbstractAttribute|string|array $attribute
15381538
* @param array $condition
15391539
* @param string $joinType
15401540
* @return $this

app/code/Magento/Customer/Model/Address/AbstractAddress.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @method string getFirstname()
2424
* @method string getMiddlename()
2525
* @method string getLastname()
26-
* @method int getCountryId()
26+
* @method string getCountryId()
2727
* @method string getCity()
2828
* @method string getTelephone()
2929
* @method string getCompany()
@@ -272,7 +272,7 @@ public function setStreet($street)
272272
*
273273
* @param array|string $key
274274
* @param null $value
275-
* @return \Magento\Framework\DataObject
275+
* @return $this
276276
*/
277277
public function setData($key, $value = null)
278278
{
@@ -425,7 +425,7 @@ public function getRegionId()
425425
}
426426

427427
/**
428-
* @return int
428+
* @return string
429429
*/
430430
public function getCountry()
431431
{

app/code/Magento/Quote/Model/Quote/Address.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
* @method Address setAddressType(string $value)
2929
* @method int getFreeShipping()
3030
* @method Address setFreeShipping(int $value)
31-
* @method int getCollectShippingRates()
32-
* @method Address setCollectShippingRates(int $value)
31+
* @method bool getCollectShippingRates()
32+
* @method Address setCollectShippingRates(bool $value)
3333
* @method Address setShippingMethod(string $value)
3434
* @method string getShippingDescription()
3535
* @method Address setShippingDescription(string $value)

app/code/Magento/Sales/Model/Order/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected function implodeStreetValue($value)
174174
*
175175
* @param array|string $key
176176
* @param null $value
177-
* @return \Magento\Framework\DataObject
177+
* @return $this
178178
*/
179179
public function setData($key, $value = null)
180180
{

app/code/Magento/Widget/Block/BlockInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function addData(array $arr);
3535
*
3636
* @param string|array $key
3737
* @param mixed $value
38-
* @return \Magento\Framework\DataObject
38+
* @return $this
3939
*/
4040
public function setData($key, $value = null);
4141
}

0 commit comments

Comments
 (0)