The expression return $this->input could return the type null which is incompatible with the type-hinted return Coco\SourceWatcher\Core\IO\Inputs\Input. Consider adding an additional type-check to rule them out.
Loading history...
21
}
22
23
public function setInput ( ?Input $input ) : void
24
{
25
$this->input = $input;
26
}
27
28
public abstract function extract ();
29
30
/**
31
* @var array
32
*/
33
protected array $result;
34
35
/**
36
* @return array
37
*/
38
public function getResult () : array
39
{
40
return $this->result;
41
}
42
43
/**
44
* @param array $result
45
*/
46
public function setResult ( array $result ) : void