query rewrite
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Lucent\Schema\Ui;
|
||||
|
||||
use Lucent\Graph\Data\FieldData;
|
||||
use Lucent\JsonSchema\Property\Property;
|
||||
use Lucent\JsonSchema\Property\PropertyType;
|
||||
use Lucent\JsonSchema\Property\TypeProperty;
|
||||
use Lucent\Record\RecordData;
|
||||
use Lucent\Schema\Field\FieldDataInterface;
|
||||
use Lucent\Schema\Field\FieldInfo;
|
||||
use Lucent\Schema\Field\FieldInterface;
|
||||
@@ -36,7 +36,7 @@ class Text implements FieldInterface,FieldDataInterface, RequiredInterface
|
||||
$this->info = new FieldInfo("text", "Text", FieldType::STRING);
|
||||
}
|
||||
|
||||
public function format(RecordData $input, RecordData $output): RecordData
|
||||
public function format(FieldData $input, FieldData $output): FieldData
|
||||
{
|
||||
$value = $input->get($this->name);
|
||||
$output->set($this->name,$value);
|
||||
|
||||
Reference in New Issue
Block a user