@@ -37,12 +37,12 @@ |
||
37 | 37 | { |
38 | 38 | $this->configure(); |
39 | 39 | |
40 | - $this->app->singleton(FormerHelperContract::class, function ($app) { |
|
41 | - return new FormerHelper($app['view'], $app['translator'], $app['config']); |
|
40 | + $this->app->singleton(FormerHelperContract::class, function($app) { |
|
41 | + return new FormerHelper($app[ 'view' ], $app[ 'translator' ], $app[ 'config' ]); |
|
42 | 42 | }); |
43 | 43 | |
44 | - $this->app->singleton(FormerContract::class, function ($app) { |
|
45 | - return new Former($app[FormerHelperContract::class]); |
|
44 | + $this->app->singleton(FormerContract::class, function($app) { |
|
45 | + return new Former($app[ FormerHelperContract::class ]); |
|
46 | 46 | }); |
47 | 47 | } |
48 | 48 |