Skip to content

Commit

Permalink
Add Conditionable trait
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnabil230 committed Feb 26, 2024
1 parent 5f8684b commit 1de9b48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Illuminate/Validation/Rules/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
use Illuminate\Contracts\Validation\Rule;
use Illuminate\Contracts\Validation\ValidatorAwareRule;
use Illuminate\Support\Arr;
use Illuminate\Support\Traits\Conditionable;
use TypeError;

class Enum implements Rule, ValidatorAwareRule
{
use Conditionable;

/**
* The type of the enum.
*
Expand Down

0 comments on commit 1de9b48

Please sign in to comment.