Skip to content

Commit

Permalink
Merge pull request #261 from mmachatschek/patch-1
Browse files Browse the repository at this point in the history
docs: update 03-listing-states.md improve use statements
  • Loading branch information
freekmurze authored Jul 31, 2024
2 parents 5cf1589 + e3c0cbf commit 50ea39f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/working-with-states/03-listing-states.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 50ea39f

Please sign in to comment.