- WIP on PHP 8 attributes

This commit is contained in:
mcndave committed 2023-02-01 03:50:09 +00:00
1 parent 88e9f048db
commit 26ffecbb6e
20 files changed
+21 -20

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ class Smallint extends \Ulmus\Attribute\Property\Field
public function __construct(
public ? string $name = null,
public ? string $type = "smallint",
public ? int $length = null,
public null|int|string $length = null,
public ? int $precision = null,
public array $attributes = [],
public bool $nullable = false,