Completed
Pull Request — master (#17)
by
unknown
07:28
created
src/Setting/Command/ModifyValue.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
 use Anomaly\SettingsModule\Setting\Contract\SettingInterface;
4 4
 use Anomaly\Streams\Platform\Addon\FieldType\FieldType;
5
-use Anomaly\Streams\Platform\Addon\FieldType\FieldTypeCollection;
6 5
 use Illuminate\Contracts\Bus\SelfHandling;
7 6
 use Illuminate\Foundation\Bus\DispatchesJobs;
8 7
 
Please login to merge, or discard this patch.
src/Setting/SettingRepository.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,6 @@
 block discarded – undo
36 36
      * Create a new SettingRepositoryInterface instance.
37 37
      *
38 38
      * @param SettingModel        $model
39
-     * @param Repository          $config
40
-     * @param FieldTypeCollection $fieldTypes
41 39
      */
42 40
     public function __construct(SettingModel $model)
43 41
     {
Please login to merge, or discard this patch.
src/Setting/SettingModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Get the value attribute.
99 99
      *
100
-     * @return mixed
100
+     * @return null|string
101 101
      */
102 102
     protected function getValueAttribute()
103 103
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      * We're overriding this to catch
116 116
      * the "value" key.
117 117
      *
118
-     * @param $fieldSlug
118
+     * @param string $fieldSlug
119 119
      * @return FieldTypePresenter
120 120
      */
121 121
     public function getFieldTypePresenter($fieldSlug)
Please login to merge, or discard this patch.