The class WikiPage does not exist. Is this class maybe located in a folder that is not analyzed, or in a newer version of your dependencies than listed in your composer.lock/composer.json?
The class Title does not exist. Is this class maybe located in a folder that is not analyzed, or in a newer version of your dependencies than listed in your composer.lock/composer.json?
Loading history...
38
throw new RuntimeException( 'Expected a title instance' );
It seems like $contentParser->parse()->getOutput() targeting SMW\ContentParser::getOutput() can also be of type null; however, SMW\ApplicationFactory::newParserData() does only seem to accept object<ParserOutput>, maybe add an additional type check?
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.
Loading history...
47
);
48
49
$parserData->updateStore();
50
51
return $this;
52
}
53
54
/**
55
* @since 2.1
56
*
57
* @param array $pages
58
*
59
* @return PageRefresher
60
*/
61
public function doRefreshPoolOfPages( array $pages ) {
The class WikiPage does not exist. Is this class maybe located in a folder that is not analyzed, or in a newer version of your dependencies than listed in your composer.lock/composer.json?
The class Title does not exist. Is this class maybe located in a folder that is not analyzed, or in a newer version of your dependencies than listed in your composer.lock/composer.json?
Loading history...
85
throw new RuntimeException( 'Expected a title instance' );