Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fixes:
- "/var/www/html/extensions/SemanticCompoundQueries/::"
5 changes: 3 additions & 2 deletions src/CompoundQueryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace SCQ;

use SMW\Query\QueryResult;
use SMWQueryProcessor as QueryProcessor;
use SMWQuery as Query;
use Parser;
Expand Down Expand Up @@ -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 );
Expand Down Expand Up @@ -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 ) {

Expand Down
4 changes: 2 additions & 2 deletions src/CompoundQueryResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down