Completed
Push — master ( 86e96b...2fb8cd )
by Ryan
02:50
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/SettingsModulePlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
         return [
28 28
             new \Twig_SimpleFunction(
29 29
                 'setting_value',
30
-                function ($key, $default = null) {
30
+                function($key, $default = null) {
31 31
                     return $this->dispatch(new GetSettingValue($key, $default));
32 32
                 }
33 33
             ),
34 34
             new \Twig_SimpleFunction(
35 35
                 'setting',
36
-                function ($key) {
36
+                function($key) {
37 37
                     return (new Decorator())->decorate($this->dispatch(new GetSettingValueFieldType($key)));
38 38
                 }
39 39
             )
Please login to merge, or discard this patch.