Skip to content

Commit 3a4a238

Browse files
committed
Fix docBlock for hasInvoices(), hasShipments(), hasCreditmemos()
It returns int and not bool
1 parent a021f0f commit 3a4a238

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
@@ -1783,7 +1783,7 @@ public function getTracksCollection()
17831783
/**
17841784
* Check order invoices availability
17851785
*
1786-
* @return bool
1786+
* @return int
17871787
*/
17881788
public function hasInvoices()
17891789
{
@@ -1793,7 +1793,7 @@ public function hasInvoices()
17931793
/**
17941794
* Check order shipments availability
17951795
*
1796-
* @return bool
1796+
* @return int
17971797
*/
17981798
public function hasShipments()
17991799
{
@@ -1803,7 +1803,7 @@ public function hasShipments()
18031803
/**
18041804
* Check order creditmemos availability
18051805
*
1806-
* @return bool
1806+
* @return int
18071807
*/
18081808
public function hasCreditmemos()
18091809
{

0 commit comments

Comments
 (0)