Skip to content

Commit c83add6

Browse files
committed
StatementListProvider is not a class
1 parent 1068b77 commit c83add6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Aliases.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ class ClaimGuidParsingException extends \Wikibase\DataModel\Statement\StatementG
3535
/**
3636
* @deprecated since 3.0.0, use the base class instead.
3737
*/
38-
class StatementListProvider extends \Wikibase\DataModel\Statement\StatementListProvider {}
38+
interface StatementListProvider extends \Wikibase\DataModel\Statement\StatementListProvider {}
3939

4040
}

tests/unit/Entity/PropertyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function assertHasCorrectIdType( Property $property ) {
9393
$this->assertInstanceOf( 'Wikibase\DataModel\Entity\PropertyId', $property->getId() );
9494
}
9595

96-
public function testWhenIdSetWithEntityId_GetIdReturnsPropertyId() {
96+
public function testWhenIdSetWithPropertyId_GetIdReturnsPropertyId() {
9797
$property = Property::newFromType( 'string' );
9898
$property->setId( new PropertyId( 'P42' ) );
9999

0 commit comments

Comments
 (0)