Skip to content

Commit 6f53a8c

Browse files
committed
Add macroable to ApiResponse
1 parent df53386 commit 6f53a8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ApiResponse.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
use Illuminate\Support\Arr;
1313
use Illuminate\Support\Str;
1414
use Illuminate\Support\Traits\Conditionable;
15+
use Illuminate\Support\Traits\Macroable;
1516
use InvalidArgumentException;
1617
use JsonSerializable;
1718
use KennedyOsaze\LaravelApiResponse\Concerns\Translatable;
1819
use stdClass;
1920

2021
class ApiResponse
2122
{
22-
use Conditionable, Translatable;
23+
use Conditionable, Translatable, Macroable;
2324

2425
protected $data;
2526

0 commit comments

Comments
 (0)