Completed
Pull Request — master (#97)
by Bart
19:15
created
src/Services/Schematic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
tests/Services/SourcesTest.php 2 patches
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.