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...
26
{
27
$list = $this->TemplateList();
28
$doIt = false;
29
if ($list) {
30
foreach ($list as $page) {
31
if ($doIt) {
32
return $page;
33
}
34
if ($page->ClassName == $this->owner->ClassName) {
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...
42
{
43
$list = $this->TemplateList();
44
$doIt = false;
45
if ($list) {
46
foreach ($list as $page) {
47
if ($page->ClassName == $this->owner->ClassName) {
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.
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.