Skip to content

Commit

Permalink
[11.x] Add Conditionable trait to Context (#50707)
Browse files Browse the repository at this point in the history
* Add `Conditionable` trait to `Context`

* Update Repository.php

---------

Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
michaelnabil230 and taylorotwell authored Mar 22, 2024
1 parent 08772cf commit 62a101f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Illuminate/Log/Context/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
use Illuminate\Log\Context\Events\ContextDehydrating as Dehydrating;
use Illuminate\Log\Context\Events\ContextHydrated as Hydrated;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Traits\Conditionable;
use Illuminate\Support\Traits\Macroable;
use RuntimeException;
use Throwable;

class Repository
{
use Macroable, SerializesModels;
use Conditionable, Macroable, SerializesModels;

/**
* The event dispatcher instance.
Expand Down

0 comments on commit 62a101f

Please sign in to comment.