Fix Pint formatting
This commit is contained in:
@@ -12,7 +12,7 @@ class PurchaseOrderCreateService
|
||||
public function create(array $payload): PurchaseOrder
|
||||
{
|
||||
$itemsPayload = $payload['items'] ?? [];
|
||||
if (empty($itemsPayload) || !is_array($itemsPayload)) {
|
||||
if (empty($itemsPayload) || ! is_array($itemsPayload)) {
|
||||
throw new RuntimeException('Add at least one line item.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user