@@ -48,7 +48,7 @@ |
||
| 48 | 48 | * |
| 49 | 49 | * @param array $config |
| 50 | 50 | * |
| 51 | - * @return mixed |
|
| 51 | + * @return \Gomoob\Pushwoosh\Client\Pushwoosh |
|
| 52 | 52 | */ |
| 53 | 53 | protected function createConnection(array $config) |
| 54 | 54 | { |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | protected function registerFactory() |
| 73 | 73 | { |
| 74 | - $this->app->singleton('pushwoosh.factory', function () { |
|
| 74 | + $this->app->singleton('pushwoosh.factory', function() { |
|
| 75 | 75 | return new PushwooshFactory(); |
| 76 | 76 | }); |
| 77 | 77 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function registerManager() |
| 87 | 87 | { |
| 88 | - $this->app->singleton('pushwoosh', function (Container $app) { |
|
| 88 | + $this->app->singleton('pushwoosh', function(Container $app) { |
|
| 89 | 89 | $config = $app['config']; |
| 90 | 90 | $factory = $app['pushwoosh.factory']; |
| 91 | 91 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | protected function registerBindings() |
| 104 | 104 | { |
| 105 | - $this->app->bind('pushwoosh.connection', function (Container $app) { |
|
| 105 | + $this->app->bind('pushwoosh.connection', function(Container $app) { |
|
| 106 | 106 | $manager = $app['pushwoosh']; |
| 107 | 107 | |
| 108 | 108 | return $manager->connection(); |