We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3ce9bf commit e3665aaCopy full SHA for e3665aa
1 file changed
src/Support/Metadata/Schema/Field.php
@@ -6,11 +6,13 @@
6
7
namespace Constructo\Support\Metadata\Schema;
8
9
+use BackedEnum;
10
use BadMethodCallException;
11
use Closure;
12
use Constructo\Support\Metadata\Schema\Field\Rules;
13
use Constructo\Support\Metadata\Schema\Registry\Spec;
14
use Constructo\Support\Metadata\Schema\Registry\Specs;
15
+use UnitEnum;
16
17
/**
18
* # Global setup
@@ -90,7 +92,7 @@
90
92
* @method self exists(string $table, string $column = null)
91
93
*
94
* # Behaviors
- * @method self in(array $items)
95
+ * @method self in(array|string|BackedEnum|UnitEnum $items)
96
* @method self notIn(array $items)
97
* @method self regex(string $pattern, Closure|array $parameters = null)
98
* @method self notRegex(string $pattern)
0 commit comments