@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -1,7 +1,6 @@ |
||
| 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 | |
@@ -36,8 +36,6 @@ |
||
| 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 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | return [ |
| 25 | 25 | new \Twig_SimpleFunction( |
| 26 | 26 | 'setting', |
| 27 | - function ($key) { |
|
| 27 | + function($key) { |
|
| 28 | 28 | return $this->dispatch(new GetSetting($key)); |
| 29 | 29 | } |
| 30 | 30 | ) |