The expression return $this->checked could return the type null which is incompatible with the type-hinted return boolean. Consider adding an additional type-check to rule them out.
Loading history...
19
}
20
21
/**
22
* Set the value of checked
23
*
24
* @param bool $checked
25
*
26
* @return $this
27
*/
28
public function setChecked(bool $checked): CheckableFieldInterface
29
{
30
$this->checked = $checked;
31
32
return $this;
33
}
34
35
/**
36
* @return $this
37
*/
38
protected function resolveAttributes(): AbstractCheckableInput