Skip to content

Commit e3665aa

Browse files
committed
fix: review Field docblock
1 parent c3ce9bf commit e3665aa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Support/Metadata/Schema/Field.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66

77
namespace Constructo\Support\Metadata\Schema;
88

9+
use BackedEnum;
910
use BadMethodCallException;
1011
use Closure;
1112
use Constructo\Support\Metadata\Schema\Field\Rules;
1213
use Constructo\Support\Metadata\Schema\Registry\Spec;
1314
use Constructo\Support\Metadata\Schema\Registry\Specs;
15+
use UnitEnum;
1416

1517
/**
1618
* # Global setup
@@ -90,7 +92,7 @@
9092
* @method self exists(string $table, string $column = null)
9193
*
9294
* # Behaviors
93-
* @method self in(array $items)
95+
* @method self in(array|string|BackedEnum|UnitEnum $items)
9496
* @method self notIn(array $items)
9597
* @method self regex(string $pattern, Closure|array $parameters = null)
9698
* @method self notRegex(string $pattern)

0 commit comments

Comments
 (0)