query rewrite
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Lucent\Schema\BlockUi;
|
||||
|
||||
use Lucent\Record\RecordData;
|
||||
use Lucent\Graph\Data\FieldData;
|
||||
use Lucent\Schema\Field\FieldDataInterface;
|
||||
use Lucent\Schema\Field\FieldInfo;
|
||||
use Lucent\Schema\Field\FieldInterface;
|
||||
@@ -23,7 +23,7 @@ class Markdown implements FieldInterface,FieldDataInterface
|
||||
$this->info = new FieldInfo("markdown", "Markdown Editor", 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