Skip to content

Commit 9bf8857

Browse files
authored
Merge pull request #109 from SemanticMediaWiki/paladox-patch-1
Replace references to SMWQueryResult with
2 parents 79ee090 + 8312697 commit 9bf8857

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/LibraryFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct( Store $store ) {
3737
}
3838

3939
/**
40-
* Creates a new SMWQueryResult from passed arguments,
40+
* Creates a new QueryResult from passed arguments,
4141
* utilizing the {@see SMWQueryProcessor}
4242
*
4343
* @since 1.0

tests/phpunit/Unit/LibraryFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function setUp(): void {
2727
->disableOriginalConstructor()
2828
->getMock();
2929

30-
$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
30+
$queryResult = $this->getMockBuilder( QueryResult::class )
3131
->disableOriginalConstructor()
3232
->getMock();
3333

@@ -117,7 +117,7 @@ public function testCanConstructSubobjectParserFunction() {
117117

118118
public function testCanConstructLuaAskResultProcessor() {
119119

120-
$queryResult = $this->getMockBuilder( '\SMWQueryResult' )
120+
$queryResult = $this->getMockBuilder( QueryResult::class )
121121
->disableOriginalConstructor()
122122
->getMock();
123123

tests/phpunit/Unit/LuaAskResultProcessorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class LuaAskResultProcessorTest extends TestCase {
3030
private $queryResult;
3131

3232
/**
33-
* Set-up method prepares a mock {@see \SMWQueryResult}
33+
* Set-up method prepares a mock {@see QueryResult}
3434
*/
3535
protected function setUp(): void {
3636

@@ -65,7 +65,7 @@ public function testCanConstruct() {
6565
}
6666

6767
/**
68-
* Tests the conversion of a {@see \SMWQueryResult} in a lua table
68+
* Tests the conversion of a {@see QueryResult} in a lua table
6969
*
7070
* @return void
7171
* @see LuaAskResultProcessor::getProcessedResult

0 commit comments

Comments
 (0)