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...
30
{
31
return $this->pageViewType;
32
}
33
34
12
public function getCustomVariables()
35
{
36
12
if (!is_array($this->customVariables))
37
{
38
return [];
39
}
40
41
12
return $this->customVariables;
42
}
43
44
/**
45
* Append custom variables that'll be made available as template variables in PageViews.
46
*
47
* @param array $customVariables
48
*
49
* @since 0.2.0
50
*/
51
public function appendCustomVariables(array $customVariables)
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.