@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @return PropertyIdProvider[] |
|
| 159 | + * @return \PHPUnit\Framework\MockObject\MockObject[] |
|
| 160 | 160 | */ |
| 161 | 161 | private function getPropertyIdProviders() { |
| 162 | 162 | return [ |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | * @param string $propertyId |
| 175 | 175 | * @param string|null $type |
| 176 | 176 | * |
| 177 | - * @return PropertyIdProvider |
|
| 177 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 178 | 178 | */ |
| 179 | 179 | private function getPropertyIdProviderMock( $propertyId, $type = null ) { |
| 180 | 180 | $propertyIdProvider = $this->createMock( Snak::class ); |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | /** |
| 58 | 58 | * @param string $languageCode |
| 59 | 59 | * |
| 60 | - * @return LabelLookup |
|
| 60 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 61 | 61 | */ |
| 62 | 62 | private function getLabelLookup( $languageCode ) { |
| 63 | 63 | $labelLookup = $this->createMock( LabelLookup::class ); |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | class DisabledEntityTypesEntityLookupTest extends TestCase { |
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | - * @return EntityLookup |
|
| 22 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 23 | 23 | */ |
| 24 | 24 | private function getEntityLookup() { |
| 25 | 25 | $entityLookup = $this->createMock( EntityLookup::class ); |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * @param Exception $exception |
| 81 | 81 | * |
| 82 | - * @return EntityLookup |
|
| 82 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 83 | 83 | */ |
| 84 | 84 | private function getExceptionThrowingLookup( Exception $exception ) { |
| 85 | 85 | $lookup = $this->createMock( EntityLookup::class ); |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * @param EntityLookup $entityLookup |
| 37 | 37 | * @param int|null $expectedNumberOfGetEntityCalls |
| 38 | - * @return EntityLookup |
|
| 38 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 39 | 39 | */ |
| 40 | 40 | private function restrictEntityLookup( EntityLookup $entityLookup, $expectedNumberOfGetEntityCalls = null ) { |
| 41 | 41 | $entityLookupMock = $this->createMock( EntityLookup::class ); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @param int $expectedPrefetches |
| 56 | - * @return EntityPrefetcher |
|
| 56 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 57 | 57 | */ |
| 58 | 58 | private function newEntityPrefetcher( $expectedPrefetches ) { |
| 59 | 59 | $entityPrefetcher = $this->createMock( EntityPrefetcher::class ); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @return EntityLookup |
|
| 43 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 44 | 44 | */ |
| 45 | 45 | public function getLookupDouble() { |
| 46 | 46 | $mock = $this->createMock( EntityLookup::class ); |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | class RestrictedEntityLookupTest extends TestCase { |
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | - * @return EntityLookup |
|
| 22 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 23 | 23 | */ |
| 24 | 24 | private function getEntityLookup() { |
| 25 | 25 | $entityLookup = $this->createMock( EntityLookup::class ); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param string $propertyId |
| 23 | 23 | * |
| 24 | - * @return StatementFilter |
|
| 24 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 25 | 25 | */ |
| 26 | 26 | private function newStatementFilter( $propertyId = 'P1' ) { |
| 27 | 27 | $filter = $this->createMock( StatementFilter::class ); |