@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function register() |
39 | 39 | { |
40 | - $this->app->bind(Field::class, function () { |
|
40 | + $this->app->bind(Field::class, function() { |
|
41 | 41 | return new Field; |
42 | 42 | }); |
43 | 43 | $fields = app(Field::class)->getFields(); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | if (!$this->isFieldInterface($field)) { |
46 | 46 | throw new FieldDoesNotExistsException(); |
47 | 47 | } |
48 | - $this->app->bind($field, function ($app, $arguments) { |
|
48 | + $this->app->bind($field, function($app, $arguments) { |
|
49 | 49 | return new TextField($arguments); |
50 | 50 | }); |
51 | 51 | } |
@@ -64,11 +64,11 @@ |
||
64 | 64 | } |
65 | 65 | $this->filter = new Filter(); |
66 | 66 | // default save Closure |
67 | - $this->saved = $this->saving = function (Form $data) { |
|
67 | + $this->saved = $this->saving = function(Form $data) { |
|
68 | 68 | return $data; |
69 | 69 | }; |
70 | 70 | // default view Closure |
71 | - $this->view = $this->viewGrid = function (string $column, Form $data) { |
|
71 | + $this->view = $this->viewGrid = function(string $column, Form $data) { |
|
72 | 72 | return $data->$column; |
73 | 73 | }; |
74 | 74 | } |