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...
32
{
33
2
return $this->toolbar;
34
}
35
36
public function getActiveHeaderToolbarTools()
37
{
38
$list = [];
39
/** @var ToolInterface $tool */
40
foreach ($this->toolbar as $tool) {
41
if ($tool->position() == ToolInterface::POSITION_HEADER && $tool->check()) {
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
@returnannotation as described here.