@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | */ |
| 73 | 73 | protected function registerAdapterFactory(Application $app) |
| 74 | 74 | { |
| 75 | - $app->singleton('httpadapter.adapterfactory', function () { |
|
| 75 | + $app->singleton('httpadapter.adapterfactory', function() { |
|
| 76 | 76 | return new AdapterFactory(); |
| 77 | 77 | }); |
| 78 | 78 | |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | protected function registerConfigurationFactory(Application $app) |
| 90 | 90 | { |
| 91 | - $app->singleton('httpadapter.configurationfactory', function ($app) { |
|
| 91 | + $app->singleton('httpadapter.configurationfactory', function($app) { |
|
| 92 | 92 | $configuration = new Configuration(); |
| 93 | 93 | |
| 94 | 94 | return new ConfigurationFactory($configuration); |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | */ |
| 107 | 107 | protected function registerHttpAdapterFactory(Application $app) |
| 108 | 108 | { |
| 109 | - $app->singleton('httpadapter.factory', function ($app) { |
|
| 109 | + $app->singleton('httpadapter.factory', function($app) { |
|
| 110 | 110 | $adapter = $app['httpadapter.adapterfactory']; |
| 111 | 111 | $configuration = $app['httpadapter.configurationfactory']; |
| 112 | 112 | $eventDispatcher = $app->make('HiddeCo\HttpAdapter\Adapters\AbstractEventDispatcher'); |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | */ |
| 125 | 125 | protected function registerManager(Application $app) |
| 126 | 126 | { |
| 127 | - $app->singleton('httpadapter', function ($app) { |
|
| 127 | + $app->singleton('httpadapter', function($app) { |
|
| 128 | 128 | $config = $app['config']; |
| 129 | 129 | $factory = $app['httpadapter.factory']; |
| 130 | 130 | |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | 'HiddeCo\HttpAdapter\Adapters\EventDispatcherLaravel' |
| 154 | 154 | ); |
| 155 | 155 | |
| 156 | - $app->bind('httpadapter.connection', function ($app) { |
|
| 156 | + $app->bind('httpadapter.connection', function($app) { |
|
| 157 | 157 | $manager = $app['httpadapter']; |
| 158 | 158 | |
| 159 | 159 | return $manager->connection(); |