Completed
Pull Request — master (#114)
by Bart
07:39
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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace NerdsAndCompany\Schematic\ConsoleCommands;
4 4
 
5 5
 use Craft;
6
-use craft\helpers\FileHelper;
7 6
 use NerdsAndCompany\Schematic\Interfaces\MappingInterface;
8 7
 use NerdsAndCompany\Schematic\Models\Data;
9 8
 use NerdsAndCompany\Schematic\Services\Schematic;
Please login to merge, or discard this patch.
tests/Services/SchematicTest.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     }
105 105
 
106 106
     /**
107
-     * @return Mock|GlobalsService
107
+     * @return Mock
108 108
      */
109 109
     public function getMockGlobalsService()
110 110
     {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @return Mock|SectionsService
121
+     * @return Mock
122 122
      */
123 123
     public function getMockSectionsService()
124 124
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     }
176 176
 
177 177
     /**
178
-     * @return PluginsService|Mock
178
+     * @return Mock
179 179
      */
180 180
     public function getMockPluginsService()
181 181
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-     * @return Mock|AssetSourcesService
196
+     * @return Mock
197 197
      */
198 198
     public function getMockAssetSourcesService()
199 199
     {
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     }
208 208
 
209 209
     /**
210
-     * @return Mock|AssetTransformsService
210
+     * @return Mock
211 211
      */
212 212
     public function getMockAssetTransformsService()
213 213
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     }
222 222
 
223 223
     /**
224
-     * @return Mock|CategoriesService
224
+     * @return Mock
225 225
      */
226 226
     public function getMockCategoriesService()
227 227
     {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     }
236 236
 
237 237
     /**
238
-     * @return Mock|TagsService
238
+     * @return Mock
239 239
      */
240 240
     public function getMockTagsService()
241 241
     {
Please login to merge, or discard this patch.