Completed
Pull Request — master (#114)
by Bart
06:44
created
src/ConsoleCommands/ExportCommand.php 1 patch
Doc Comments   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * {@inheritdoc}
30 30
      *
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     public function options($actionID)
34 34
     {
@@ -38,8 +38,6 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Exports the Craft datamodel.
40 40
      *
41
-     * @param string $file    file to write the schema to
42
-     * @param array  $exclude Data to not export
43 41
      *
44 42
      * @return int
45 43
      */
@@ -67,9 +65,8 @@  discard block
 block discarded – undo
67 65
      * Export to Yaml file.
68 66
      *
69 67
      * @param string $file
70
-     * @param bool   $autoCreate
71 68
      *
72
-     * @return Result
69
+     * @return boolean
73 70
      */
74 71
     public function exportToYaml($file, $dataTypes)
75 72
     {
Please login to merge, or discard this patch.
src/Services/UserGroups.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Get group definition.
43 43
      *
44
-     * @param UserGroupModel $group
45 44
      *
46 45
      * @return array
47 46
      */
@@ -55,7 +54,7 @@  discard block
 block discarded – undo
55 54
     /**
56 55
      * Get group permissions.
57 56
      *
58
-     * @param $group
57
+     * @param Model $group
59 58
      *
60 59
      * @return array|string
61 60
      */
Please login to merge, or discard this patch.
src/Services/CategoryGroups.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     /**
97 97
      * Attempt to import category groups.
98 98
      *
99
-     * @param array $categoryGroupDefinitions
99
+     * @param boolean $categoryGroupDefinitions
100 100
      * @param bool  $force                    If set to true category groups not included in the import will be deleted
101 101
      *
102 102
      * @return Result
Please login to merge, or discard this patch.
src/Services/Users.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 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.
tests/Services/ElementIndexSettingsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
     /**
174 174
      * Returns element index settings exported data.
175 175
      *
176
-     * @return array
176
+     * @return boolean
177 177
      */
178 178
     private function getElementIndexSettingsExportedData()
179 179
     {
Please login to merge, or discard this patch.
tests/Services/PluginsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
     /**
240 240
      * Returns plugins data.
241 241
      *
242
-     * @return array
242
+     * @return boolean
243 243
      */
244 244
     public function getPluginsData()
245 245
     {
Please login to merge, or discard this patch.
tests/Services/UserGroupsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-     * @param array $permissions
301
+     * @param string[] $permissions
302 302
      * @param bool  $success
303 303
      *
304 304
      * @return UserPermissionsService|Mock
Please login to merge, or discard this patch.