Completed
Pull Request — master (#114)
by Bart
05:42
created
src/Services/UserGroups.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * Get group permissions.
53 53
      *
54
-     * @param $group
54
+     * @param Model $group
55 55
      *
56 56
      * @return array|string
57 57
      */
Please login to merge, or discard this patch.
src/Models/Data.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace NerdsAndCompany\Schematic\Models;
4 4
 
5
-use Craft;
6 5
 use craft\base\Model;
7 6
 use Symfony\Component\Yaml\Yaml;
8 7
 
Please login to merge, or discard this patch.
src/Services/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.
tests/unit/Services/CategoryGroupsTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use craft\models\CategoryGroup_SiteSettings;
8 8
 use craft\models\FieldLayout;
9 9
 use craft\models\Site;
10
-use craft\services\Fields;
11 10
 use Codeception\Test\Unit;
12 11
 use NerdsAndCompany\Schematic\Schematic;
13 12
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -163,7 +163,6 @@  discard block
 block discarded – undo
163 163
     //==============================================================================================================
164 164
 
165 165
     /**
166
-     * @param CategoryGroup $$group
167 166
      *
168 167
      * @return array
169 168
      */
@@ -195,7 +194,7 @@  discard block
 block discarded – undo
195 194
     /**
196 195
      * @param string $groupId
197 196
      *
198
-     * @return Mock|CategoryGroup
197
+     * @return CategoryGroup
199 198
      */
200 199
     private function getMockCategoryGroup($groupId)
201 200
     {
@@ -228,7 +227,6 @@  discard block
 block discarded – undo
228 227
     /**
229 228
      * Get mock siteSettings.
230 229
      *
231
-     * @param string $class
232 230
      *
233 231
      * @return Mock|CategoryGroup_SiteSettings
234 232
      */
Please login to merge, or discard this patch.