The doc comment class-string<AbstractField> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<AbstractField>.
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...
32
3
return;
33
}
34
35
3
foreach ($class->getMethods() as $method) {
36
3
if ($method->getDeclaringClass()->getName() !== $class->getName()) {
37
1
continue;
38
}
39
40
2
if ($attribute = $this->reader->firstFunctionMetadata($method, $this->attribute)) {
41
1
$this->methods[] = new ReflectionMethodWithAttribute($method, $attribute);