The expression return $this->label could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->description could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
61
}
62
63
/**
64
* Set description
65
*
66
* @param string $description description
67
*
68
* @return $this
69
*/
70
public function setDescription(string $description)
71
{
72
$this->description = $description;
73
74
return $this;
75
}
76
77
public function renderInputField(ServerRequestInterface $request): string