Skip to content

Commit cf759ec

Browse files
nuzileduard13
authored andcommitted
Fix docBlock for hasInvoices(), hasShipments(), hasCreditmemos() It returns int and not bool
1 parent 92044eb commit cf759ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ public function getTracksCollection()
17661766
/**
17671767
* Check order invoices availability
17681768
*
1769-
* @return bool
1769+
* @return int
17701770
*/
17711771
public function hasInvoices()
17721772
{
@@ -1776,7 +1776,7 @@ public function hasInvoices()
17761776
/**
17771777
* Check order shipments availability
17781778
*
1779-
* @return bool
1779+
* @return int
17801780
*/
17811781
public function hasShipments()
17821782
{
@@ -1786,7 +1786,7 @@ public function hasShipments()
17861786
/**
17871787
* Check order creditmemos availability
17881788
*
1789-
* @return bool
1789+
* @return int
17901790
*/
17911791
public function hasCreditmemos()
17921792
{

0 commit comments

Comments
 (0)