diff --git a/build b/build index 91d0052..13d00b1 160000 --- a/build +++ b/build @@ -1 +1 @@ -Subproject commit 91d00523e3a9e5b7b334562d6a7aed5a300c3787 +Subproject commit 13d00b11a7743cb6a524c6ed577b8dea3913a62c diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..6c04148 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +fixes: + - "/var/www/html/extensions/SemanticCompoundQueries/::" diff --git a/src/CompoundQueryProcessor.php b/src/CompoundQueryProcessor.php index cf467b0..d31b5f9 100644 --- a/src/CompoundQueryProcessor.php +++ b/src/CompoundQueryProcessor.php @@ -2,6 +2,7 @@ namespace SCQ; +use SMW\Query\QueryResult; use SMWQueryProcessor as QueryProcessor; use SMWQuery as Query; use Parser; @@ -168,7 +169,7 @@ protected static function getSubParams( $param ) { * @param $context * @param $showmode * - * @return SMWQueryResult + * @return QueryResult */ protected static function getQueryResultFromFunctionParams( $rawParams, $context = QueryProcessor::INLINE_QUERY, $showMode = false ) { list( $querystring, $params, $printouts ) = self::getComponentsFromFunctionParams( $rawParams, $showMode ); @@ -226,7 +227,7 @@ protected static function mergeSMWPrintRequests( $printRequests1, $printRequests * @param $outputMode * @param $context * - * @return SMWQueryResult + * @return QueryResult */ protected static function getQueryResultFromQueryString( $querystring, array $params, $extraPrintouts, $context = QueryProcessor::INLINE_QUERY ) { diff --git a/src/CompoundQueryResult.php b/src/CompoundQueryResult.php index da61c4e..305d438 100644 --- a/src/CompoundQueryResult.php +++ b/src/CompoundQueryResult.php @@ -2,8 +2,8 @@ namespace SCQ; -use SMWQueryResult as QueryResult; -use SMWResultArray as ResultArray; +use SMW\Query\QueryResult; +use SMW\Query\Result\ResultArray; /** * Subclass of SMWQueryResult - this class was mostly created in order to