Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
+ changed the errors on Order
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocacciola committed May 31, 2019
1 parent 5479ba6 commit 9d25143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function cancel($purchaseOrderId, $order)
}

if (empty($order)) {
throw new \Exception("$order cannot be empty", 1448480746);
throw new \Exception("Order array cannot be empty", 1448480746);
}

$schema = [
Expand Down Expand Up @@ -295,7 +295,7 @@ public function ship($purchaseOrderId, $order)
}

if (empty($order)) {
throw new \Exception("$order cannot be empty", 1448480746);
throw new \Exception("Order array cannot be empty", 1448480746);
}

$schema = [
Expand Down Expand Up @@ -339,7 +339,7 @@ public function refund($purchaseOrderId, $order)
}

if (empty($order)) {
throw new \Exception("$order cannot be empty", 1448480746);
throw new \Exception("Order array cannot be empty", 1448480746);
}

$schema = [
Expand Down

0 comments on commit 9d25143

Please sign in to comment.