diff --git a/src/LibraryFactory.php b/src/LibraryFactory.php index e0f5303..ade0f25 100644 --- a/src/LibraryFactory.php +++ b/src/LibraryFactory.php @@ -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 diff --git a/tests/phpunit/Unit/LibraryFactoryTest.php b/tests/phpunit/Unit/LibraryFactoryTest.php index 9dd419e..9a79479 100644 --- a/tests/phpunit/Unit/LibraryFactoryTest.php +++ b/tests/phpunit/Unit/LibraryFactoryTest.php @@ -27,7 +27,7 @@ protected function setUp(): void { ->disableOriginalConstructor() ->getMock(); - $queryResult = $this->getMockBuilder( '\SMWQueryResult' ) + $queryResult = $this->getMockBuilder( QueryResult::class ) ->disableOriginalConstructor() ->getMock(); @@ -117,7 +117,7 @@ public function testCanConstructSubobjectParserFunction() { public function testCanConstructLuaAskResultProcessor() { - $queryResult = $this->getMockBuilder( '\SMWQueryResult' ) + $queryResult = $this->getMockBuilder( QueryResult::class ) ->disableOriginalConstructor() ->getMock(); diff --git a/tests/phpunit/Unit/LuaAskResultProcessorTest.php b/tests/phpunit/Unit/LuaAskResultProcessorTest.php index 9cf8c8c..5f97989 100644 --- a/tests/phpunit/Unit/LuaAskResultProcessorTest.php +++ b/tests/phpunit/Unit/LuaAskResultProcessorTest.php @@ -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 { @@ -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