The return type could not be reliably inferred; please add a @return annotation.
Our type inference engine in quite powerful, but sometimes the code does not
provide enough clues to go by. In these cases we request you to add a @return
annotation as described here.
Loading history...
15
{
16
$fields = parent::getFieldConfiguration();
17
return $fields;
18
}
19
20
public function getFormField()
21
{
22
return new OffSpringField($this->Name, $this->Title);
23
}
24
25
/**
26
* Return the validation information related to this field. This is
27
* interrupted as a JSON object for validate plugin and used in the
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.