Skip to content

Commit 62a101f

Browse files
[11.x] Add Conditionable trait to Context (#50707)
* Add `Conditionable` trait to `Context` * Update Repository.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 08772cf commit 62a101f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Log/Context/Repository.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
use Illuminate\Log\Context\Events\ContextDehydrating as Dehydrating;
99
use Illuminate\Log\Context\Events\ContextHydrated as Hydrated;
1010
use Illuminate\Queue\SerializesModels;
11+
use Illuminate\Support\Traits\Conditionable;
1112
use Illuminate\Support\Traits\Macroable;
1213
use RuntimeException;
1314
use Throwable;
1415

1516
class Repository
1617
{
17-
use Macroable, SerializesModels;
18+
use Conditionable, Macroable, SerializesModels;
1819

1920
/**
2021
* The event dispatcher instance.

0 commit comments

Comments
 (0)