@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | */ |
| 73 | 73 | protected function registerAdapterFactory() |
| 74 | 74 | { |
| 75 | - $this->app->singleton('smsfactor.adapterfactory', function () { |
|
| 75 | + $this->app->singleton('smsfactor.adapterfactory', function() { |
|
| 76 | 76 | return new AdapterFactory(); |
| 77 | 77 | }); |
| 78 | 78 | $this->app->alias('smsfactor.adapterfactory', AdapterFactory::class); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function registerDigitalOceanFactory() |
| 87 | 87 | { |
| 88 | - $this->app->singleton('smsfactor.factory', function (Container $app) { |
|
| 88 | + $this->app->singleton('smsfactor.factory', function(Container $app) { |
|
| 89 | 89 | $adapter = $app['smsfactor.adapterfactory']; |
| 90 | 90 | return new SMSFactorFactory($adapter); |
| 91 | 91 | }); |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | */ |
| 100 | 100 | protected function registerManager() |
| 101 | 101 | { |
| 102 | - $this->app->singleton('smsfactor', function (Container $app) { |
|
| 102 | + $this->app->singleton('smsfactor', function(Container $app) { |
|
| 103 | 103 | $config = $app['config']; |
| 104 | 104 | $factory = $app['smsfactor.factory']; |
| 105 | 105 | return new SMSFactorManager($config, $factory); |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | protected function registerBindings() |
| 116 | 116 | { |
| 117 | - $this->app->bind('smsfactor.connection', function (Container $app) { |
|
| 117 | + $this->app->bind('smsfactor.connection', function(Container $app) { |
|
| 118 | 118 | $manager = $app['smsfactor']; |
| 119 | 119 | return $manager->connection(); |
| 120 | 120 | }); |