Skip to content

Commit f026be3

Browse files
[12.x] Add Conditionable Trait to Fluent (#55455)
* Add `Conditionable` * Format * Update Fluent.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 98f9785 commit f026be3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Support/Fluent.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use ArrayAccess;
66
use Illuminate\Contracts\Support\Arrayable;
77
use Illuminate\Contracts\Support\Jsonable;
8+
use Illuminate\Support\Traits\Conditionable;
89
use Illuminate\Support\Traits\InteractsWithData;
910
use Illuminate\Support\Traits\Macroable;
1011
use JsonSerializable;
@@ -18,7 +19,7 @@
1819
*/
1920
class Fluent implements Arrayable, ArrayAccess, Jsonable, JsonSerializable
2021
{
21-
use InteractsWithData, Macroable {
22+
use Conditionable, InteractsWithData, Macroable {
2223
__call as macroCall;
2324
}
2425

0 commit comments

Comments
 (0)