playing with extensible fields
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Lucent\Schema;
|
||||
|
||||
use Lucent\Field\Field;
|
||||
use Lucent\Primitive\Collection;
|
||||
|
||||
class SingletonSchema implements Schema
|
||||
@@ -9,7 +10,7 @@ class SingletonSchema implements Schema
|
||||
public Type $type = Type::COLLECTION;
|
||||
|
||||
/**
|
||||
* @param Collection<FieldInterface> $fields
|
||||
* @param Collection<Field> $fields
|
||||
*/
|
||||
function __construct(
|
||||
public string $name,
|
||||
|
||||
Reference in New Issue
Block a user