Completed
Pull Request — master (#114)
by Bart
07:45
created
tests/unit/Converters/Models/UserGroupTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     /**
219 219
      * @param int $userGroupId
220 220
      *
221
-     * @return UserGroupModel
221
+     * @return \PHPUnit\Framework\MockObject\MockObject
222 222
      */
223 223
     private function getMockUserGroup(int $userGroupId)
224 224
     {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     /**
248 248
      * @param int $sectionId
249 249
      *
250
-     * @return Mock|SectionModel
250
+     * @return \PHPUnit\Framework\MockObject\MockObject
251 251
      */
252 252
     private function getMockSection(int $sectionId)
253 253
     {
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     /**
265 265
      * @param int $groupId
266 266
      *
267
-     * @return Mock|CategoryGroupModel
267
+     * @return \PHPUnit\Framework\MockObject\MockObject
268 268
      */
269 269
     private function getMockCategoryGroup(int $groupId)
270 270
     {
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     /**
282 282
      * @param int $volumeId
283 283
      *
284
-     * @return Mock|VolumeModel
284
+     * @return \PHPUnit\Framework\MockObject\MockObject
285 285
      */
286 286
     private function getMockVolume(int $volumeId)
287 287
     {
Please login to merge, or discard this patch.
src/Controllers/ExportController.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,6 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Exports the Craft datamodel.
25 25
      *
26
-     * @param string $file    file to write the schema to
27
-     * @param array  $exclude Data to not export
28 26
      *
29 27
      * @return int
30 28
      */
@@ -42,7 +40,6 @@  discard block
 block discarded – undo
42 40
      * Export to Yaml file.
43 41
      *
44 42
      * @param string $file
45
-     * @param bool   $autoCreate
46 43
      *
47 44
      * @return int
48 45
      */
Please login to merge, or discard this patch.
src/Controllers/ImportController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * {@inheritdoc}
28 28
      *
29
-     * @return array
29
+     * @return string[]
30 30
      */
31 31
     public function options($actionID)
32 32
     {
Please login to merge, or discard this patch.
src/Mappers/ElementIndexMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Load sources behaviors.
26 26
      *
27
-     * @return array
27
+     * @return string[]
28 28
      */
29 29
     public function behaviors()
30 30
     {
Please login to merge, or discard this patch.
src/Mappers/UserSettingsMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Load fieldlayout behavior.
27 27
      *
28
-     * @return array
28
+     * @return string[]
29 29
      */
30 30
     public function behaviors()
31 31
     {
Please login to merge, or discard this patch.