Completed
Pull Request — master (#114)
by Bart
07:39
created
src/Models/Data.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      *
119 119
      * @param array $data
120 120
      *
121
-     * @return Data
121
+     * @return string
122 122
      */
123 123
     public static function toYaml(array $data)
124 124
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace NerdsAndCompany\Schematic\Models;
4 4
 
5
-use Craft;
6 5
 use craft\base\Model;
7
-use Craft\AttributeType;
8 6
 use Craft\Exception;
9 7
 use Symfony\Component\Yaml\Yaml;
10 8
 
Please login to merge, or discard this patch.
src/Services/Fields.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Craft;
6 6
 use craft\base\Model;
7 7
 use craft\base\Field;
8
-use craft\models\FieldLayout;
9 8
 
10 9
 /**
11 10
  * Schematic Fields Service.
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.
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.
src/Services/Base.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 fieldlayout and 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
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Load fieldlayout behavior
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/ElementIndexSettings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * Load sources behaviors
25 25
      *
26
-     * @return array
26
+     * @return string[]
27 27
      */
28 28
     public function behaviors()
29 29
     {
Please login to merge, or discard this patch.