@@ -48,14 +48,14 @@ discard block |
||
48 | 48 | |
49 | 49 | $this->app->bind( |
50 | 50 | 'Anavel\Crud\Contracts\Abstractor\FieldFactory', |
51 | - function () { |
|
51 | + function() { |
|
52 | 52 | return new FieldAbstractorFactory(new FormFactory()); |
53 | 53 | } |
54 | 54 | ); |
55 | 55 | |
56 | 56 | $this->app->bind( |
57 | 57 | 'Anavel\Crud\Contracts\Abstractor\RelationFactory', |
58 | - function () { |
|
58 | + function() { |
|
59 | 59 | return new RelationAbstractorFactory( |
60 | 60 | $this->app['ANavallaSuiza\Laravel\Database\Contracts\Manager\ModelManager'], |
61 | 61 | $this->app['Anavel\Crud\Contracts\Abstractor\FieldFactory'] |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | $this->app->bind( |
67 | 67 | 'Anavel\Crud\Contracts\Abstractor\ModelFactory', |
68 | - function () { |
|
68 | + function() { |
|
69 | 69 | return new ModelAbstractorFactory( |
70 | 70 | config('anavel-crud.models'), |
71 | 71 | $this->app['ANavallaSuiza\Laravel\Database\Contracts\Manager\ModelManager'], |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | $this->app->bind( |
81 | 81 | 'Anavel\Crud\Contracts\Form\Generator', |
82 | - function () { |
|
82 | + function() { |
|
83 | 83 | return new FormGenerator(new FormFactory()); |
84 | 84 | } |
85 | 85 | ); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | // If results are displayed using a field other than id, order by that field |
49 | - if (! empty($this->config['display'])) { |
|
49 | + if (!empty($this->config['display'])) { |
|
50 | 50 | asort($options); |
51 | 51 | } |
52 | 52 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | public function setup() |
20 | 20 | { |
21 | 21 | if (empty($this->langs)) { |
22 | - $this->langs = (array)config('anavel.translation_languages'); |
|
22 | + $this->langs = (array) config('anavel.translation_languages'); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | $this->checkRelationCompatibility(); |