Completed
Pull Request — master (#114)
by Bart
02:00
created
src/ConsoleCommands/ExportCommand.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/ConsoleCommands/ImportCommand.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/Converters/Models/Base.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
      * Load fieldlayout and sources behaviors.
28 28
      *
29
-     * @return array
29
+     * @return string[]
30 30
      */
31 31
     public function behaviors()
32 32
     {
Please login to merge, or discard this patch.
src/Services/ElementIndexSettings.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/Services/Users.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.
tests/unit/Converters/Elements/GlobalSetTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     //==============================================================================================================
125 125
 
126 126
     /**
127
-     * @param GlobalSet $mockGlobalSet
127
+     * @param GlobalSetElement $mockGlobalSet
128 128
      *
129 129
      * @return array
130 130
      */
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      * @param int    $setId
159 159
      * @param string $siteHandle
160 160
      *
161
-     * @return Mock|GlobalSet
161
+     * @return \PHPUnit\Framework\MockObject\MockObject
162 162
      */
163 163
     private function getMockGlobalSet(int $setId, string $siteHandle = 'default')
164 164
     {
Please login to merge, or discard this patch.
tests/unit/Converters/Models/AssetTransformTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @param int $assetTransformId
122
+     * @param int $assetTransform
123 123
      *
124 124
      * @return array
125 125
      */
Please login to merge, or discard this patch.
tests/unit/Services/ModelProcessorTest.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     /**
196 196
      * @param int $groupId
197 197
      *
198
-     * @return Mock|CategoryGroup
198
+     * @return \PHPUnit\Framework\MockObject\MockObject
199 199
      */
200 200
     private function getMockCategoryGroup(int $groupId)
201 201
     {
@@ -228,9 +228,8 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * Get mock siteSettings.
230 230
      *
231
-     * @param string $class
232 231
      *
233
-     * @return Mock|CategoryGroup_SiteSettings
232
+     * @return \PHPUnit\Framework\MockObject\MockObject
234 233
      */
235 234
     private function getMockSiteSettings()
236 235
     {
@@ -248,7 +247,7 @@  discard block
 block discarded – undo
248 247
     /**
249 248
      * Get a mock site.
250 249
      *
251
-     * @return Mock|Site
250
+     * @return \PHPUnit\Framework\MockObject\MockObject
252 251
      */
253 252
     private function getMockSite()
254 253
     {
Please login to merge, or discard this patch.
tests/unit/Converters/Base/FieldTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      * @param int $fieldId
154 154
      * @param int $groupId
155 155
      *
156
-     * @return Mock|FieldModel
156
+     * @return \PHPUnit\Framework\MockObject\MockObject
157 157
      */
158 158
     private function getMockField(int $fieldId, int $groupId)
159 159
     {
Please login to merge, or discard this patch.