Skip to content

Commit

Permalink
Add macroable to ApiResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
kennedy-osaze committed Jun 3, 2022
1 parent df53386 commit 6f53a8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ApiResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Support\Traits\Conditionable;
use Illuminate\Support\Traits\Macroable;
use InvalidArgumentException;
use JsonSerializable;
use KennedyOsaze\LaravelApiResponse\Concerns\Translatable;
use stdClass;

class ApiResponse
{
use Conditionable, Translatable;
use Conditionable, Translatable, Macroable;

protected $data;

Expand Down

0 comments on commit 6f53a8c

Please sign in to comment.