Test Setup Failed
Branch main (77db35)
by Garbuz
12:27
created
Category
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Form/Fields/FieldAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,11 +64,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.