Skip to content

Commit 9fde814

Browse files
Add Conditionable trait (#50257)
1 parent 6bc9f5a commit 9fde814

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Illuminate/Validation/Rules/Enum.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
use Illuminate\Contracts\Validation\Rule;
66
use Illuminate\Contracts\Validation\ValidatorAwareRule;
77
use Illuminate\Support\Arr;
8+
use Illuminate\Support\Traits\Conditionable;
89
use TypeError;
910

1011
class Enum implements Rule, ValidatorAwareRule
1112
{
13+
use Conditionable;
14+
1215
/**
1316
* The type of the enum.
1417
*

0 commit comments

Comments
 (0)