This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
26
27
4
if ($listingPage = $listingClass::get()->first()) {
28
4
return $listingPage;
29
}
30
31
return false;
32
}
33
34
/**
35
* @return bool
36
*/
37
1
public function getAddLink()
38
{
39
1
if ($this->owner->getListingPage()->hasMethod('Link') && $this->owner->canCreate(Security::getCurrentUser())) {
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.