@@ -205,7 +205,7 @@ |
||
205 | 205 | /** |
206 | 206 | * Export data model. |
207 | 207 | * |
208 | - * @param string|array $dataTypes The data types to export |
|
208 | + * @param string $dataTypes The data types to export |
|
209 | 209 | * |
210 | 210 | * @return array |
211 | 211 | * |
@@ -46,8 +46,7 @@ discard block |
||
46 | 46 | * @covers ::getSource |
47 | 47 | * @dataProvider provideValidSources |
48 | 48 | * |
49 | - * @param array $sources |
|
50 | - * @param array $expectedResult |
|
49 | + * @param array $idSources |
|
51 | 50 | * @param string $fieldType |
52 | 51 | */ |
53 | 52 | public function testGetMappedSourcesFromIdToHandle(array $idSources, array $handleSources, $fieldType = false) |
@@ -63,8 +62,7 @@ discard block |
||
63 | 62 | * @covers ::getSource |
64 | 63 | * @dataProvider provideValidSources |
65 | 64 | * |
66 | - * @param array $sources |
|
67 | - * @param array $expectedResult |
|
65 | + * @param array $idSources |
|
68 | 66 | * @param string $fieldType |
69 | 67 | */ |
70 | 68 | public function testGetMappedSourcesFromHandleToId(array $idSources, array $handleSources, $fieldType = false) |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Craft\SectionsService; |
11 | 11 | use Craft\TagsService; |
12 | 12 | use Craft\UserGroupsService; |
13 | -use PHPUnit_Framework_MockObject_MockObject as Mock; |
|
14 | 13 | use stdClass; |
15 | 14 | |
16 | 15 | /** |