Completed
Push — master ( cfad45...2ef010 )
by Ryan
02:33
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/Listener/Command/SetEmail.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Anomaly\SettingsModule\Setting\Listener\Command;
2 2
 
3 3
 use Anomaly\SettingsModule\Setting\Contract\SettingRepositoryInterface;
4
-use Anomaly\Streams\Platform\Support\Decorator;
5 4
 use Illuminate\Config\Repository;
6 5
 use Illuminate\Contracts\Bus\SelfHandling;
7 6
 
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/Plugin/SettingPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
         return [
26 26
             new \Twig_SimpleFunction(
27 27
                 'setting',
28
-                function ($key) {
28
+                function($key) {
29 29
                     return $this->dispatch(new GetSetting($key));
30 30
                 }
31 31
             ),
32 32
             new \Twig_SimpleFunction(
33 33
                 'setting_value',
34
-                function ($key, $default) {
34
+                function($key, $default) {
35 35
                     return $this->dispatch(new GetSettingValue($key, $default));
36 36
                 }
37 37
             )
Please login to merge, or discard this patch.