Skip to content

Commit

Permalink
Update Models
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhall17 committed Feb 1, 2020
1 parent b3dc314 commit 1ada14e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/Support/ExtendedModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

namespace MacsiDigital\Stripe\Support;

use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use MacsiDigital\Stripe\Traits\HasAttributes;
use MacsiDigital\Stripe\Traits\HasRelationships;

abstract class ExtendedModel
abstract class ExtendedModel implements Arrayable, Jsonable
{
use HasAttributes,
HasRelationships
Expand Down
6 changes: 4 additions & 2 deletions src/Support/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
use Illuminate\Support\Collection;
use MacsiDigital\Stripe\Support\API;
use MacsiDigital\Stripe\Facades\Builder;
use MacsiDigital\Stripe\Contracts\Builder as BuilderInterface;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use MacsiDigital\Stripe\Traits\ForwardsCalls;
use MacsiDigital\Stripe\Traits\HasAttributes;
use MacsiDigital\Stripe\Traits\HasRelationships;
use MacsiDigital\Stripe\Traits\InteractsWithAPI;
use MacsiDigital\Stripe\Contracts\Builder as BuilderInterface;

abstract class Model
abstract class Model implements Arrayable, Jsonable
{
use HasAttributes,
InteractsWithAPI,
Expand Down

0 comments on commit 1ada14e

Please sign in to comment.