Skip to content

Commit

Permalink
Merge pull request #109 from SemanticMediaWiki/paladox-patch-1
Browse files Browse the repository at this point in the history
Replace references to SMWQueryResult with
  • Loading branch information
jaideraf authored Feb 23, 2025
2 parents 79ee090 + 8312697 commit 9bf8857
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/LibraryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct( Store $store ) {
}

/**
* Creates a new SMWQueryResult from passed arguments,
* Creates a new QueryResult from passed arguments,
* utilizing the {@see SMWQueryProcessor}
*
* @since 1.0
Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/Unit/LibraryFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function setUp(): void {
->disableOriginalConstructor()
->getMock();

$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
$queryResult = $this->getMockBuilder( QueryResult::class )
->disableOriginalConstructor()
->getMock();

Expand Down Expand Up @@ -117,7 +117,7 @@ public function testCanConstructSubobjectParserFunction() {

public function testCanConstructLuaAskResultProcessor() {

$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
$queryResult = $this->getMockBuilder( QueryResult::class )
->disableOriginalConstructor()
->getMock();

Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/Unit/LuaAskResultProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LuaAskResultProcessorTest extends TestCase {
private $queryResult;

/**
* Set-up method prepares a mock {@see \SMWQueryResult}
* Set-up method prepares a mock {@see QueryResult}
*/
protected function setUp(): void {

Expand Down Expand Up @@ -65,7 +65,7 @@ public function testCanConstruct() {
}

/**
* Tests the conversion of a {@see \SMWQueryResult} in a lua table
* Tests the conversion of a {@see QueryResult} in a lua table
*
* @return void
* @see LuaAskResultProcessor::getProcessedResult
Expand Down

0 comments on commit 9bf8857

Please sign in to comment.