Issues (265)

src/Schema/Attribute/ColumnAttribute.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Cycle\Database\Schema\Attribute;
6
7
#[\Attribute(\Attribute::TARGET_PROPERTY)]
8
class ColumnAttribute
9
{
10
    /**
11
     * @param non-empty-string[]|null $types List of column types that support this attribute.
0 ignored issues
show
Documentation Bug introduced by
The doc comment non-empty-string[]|null at position 0 could not be parsed: Unknown type name 'non-empty-string' at position 0 in non-empty-string[]|null.
Loading history...
12
     *        Empty list means all types.
13
     */
14
    public function __construct(
15
        public ?array $types = null,
16
    ) {}
17
}
18