Skip to content

Commit 79c8e8b

Browse files
committed
Add missing PropertyIdProvider types
1 parent 96ec015 commit 79c8e8b

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

tests/unit/ByPropertyIdArrayTest.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,10 @@ public function moveProvider() {
299299

300300
/**
301301
* @dataProvider moveProvider
302-
* @param object[] $objectsSource
303-
* @param object $object
304-
* @param int $toIndex
305-
* @param object[] $objectsDestination
306302
*/
307303
public function testMoveObjectToIndex(
308304
array $objectsSource,
309-
$object,
305+
PropertyIdProvider $object,
310306
$toIndex,
311307
array $objectsDestination
312308
) {
@@ -378,14 +374,10 @@ public function addProvider() {
378374

379375
/**
380376
* @dataProvider addProvider
381-
* @param object[] $objectsSource
382-
* @param object $object
383-
* @param int|null $index
384-
* @param object[] $objectsDestination
385377
*/
386378
public function testAddObjectAtIndex(
387379
array $objectsSource,
388-
$object,
380+
PropertyIdProvider $object,
389381
$index,
390382
array $objectsDestination
391383
) {

tests/unit/Term/TermListTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Wikibase\DataModel\Tests\Term;
44

5-
use InvalidArgumentException;
65
use Wikibase\DataModel\Term\Term;
76
use Wikibase\DataModel\Term\TermList;
87

0 commit comments

Comments
 (0)