From e3c0cbf2476293b038a1b76961f9eae51f79aed5 Mon Sep 17 00:00:00 2001 From: Markus Machatschek Date: Tue, 30 Jul 2024 11:07:01 +0200 Subject: [PATCH] docs: update 03-listing-states.md improve use statements This brings the imported classes into a clearer order --- docs/working-with-states/03-listing-states.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/working-with-states/03-listing-states.md b/docs/working-with-states/03-listing-states.md index a58f0f2..63ef5ec 100644 --- a/docs/working-with-states/03-listing-states.md +++ b/docs/working-with-states/03-listing-states.md @@ -8,16 +8,16 @@ Say you have setup the invoice model as follows: ```php namespace App; +use App\States\Invoice\InvoiceState; +use App\States\Invoice\Declined; use App\States\Invoice\Paid; use App\States\Invoice\Pending; -use App\States\Invoice\Declined; -use Spatie\ModelStates\HasStates; -use App\States\Fulfillment\Partial; +use App\States\Fulfillment\FulfillmentState; use App\States\Fulfillment\Complete; -use App\States\Invoice\InvoiceState; +use App\States\Fulfillment\Partial; use App\States\Fulfillment\Unfulfilled; use Illuminate\Database\Eloquent\Model; -use App\States\Fulfillment\FulfillmentState; +use Spatie\ModelStates\HasStates; class Invoice extends Model {