diff --git a/composer.json b/composer.json index f133c1e..822ef83 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "spatie/laravel-package-tools": "^1.11" }, "require-dev": { - "laravel/pint": "^1.0", + "laravel/pint": "^1.10", "nunomaduro/collision": "^6.0", "nunomaduro/larastan": "^2.0.1", "orchestra/testbench": "^7.0", diff --git a/src/Traits/ShipmentApi.php b/src/Traits/ShipmentApi.php index 5929a69..67c51da 100644 --- a/src/Traits/ShipmentApi.php +++ b/src/Traits/ShipmentApi.php @@ -96,7 +96,7 @@ public function cancelShipment(string $shipmentId): array $endpoint = sprintf('%s/cancel', TerminalAfricaConstant::SHIPMENT_ENDPOINT); $formParams = [ - 'shipment_id' => $shipmentId + 'shipment_id' => $shipmentId, ]; return $this->makeRequest( @@ -114,7 +114,7 @@ public function deleteShipment(string $shipmentId): array $endpoint = sprintf('%s', TerminalAfricaConstant::SHIPMENT_ENDPOINT); $formParams = [ - 'shipment_id' => $shipmentId + 'shipment_id' => $shipmentId, ]; return $this->makeRequest(