@@ -31,10 +31,10 @@ |
||
| 31 | 31 | { |
| 32 | 32 | $app = $this->app; |
| 33 | 33 | $this->mergeConfigFrom( |
| 34 | - __DIR__.'/../config/config.php', |
|
| 34 | + __DIR__ . '/../config/config.php', |
|
| 35 | 35 | 'googlebooks' |
| 36 | 36 | ); |
| 37 | - $this->app->singleton('googlebooks', function ($app) { |
|
| 37 | + $this->app->singleton('googlebooks', function($app) { |
|
| 38 | 38 | $options = []; |
| 39 | 39 | $options['key'] = $app['config']->get('googlebooks.key'); |
| 40 | 40 | $options['country'] = $app['config']->get('googlebooks.country'); |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | $this->maxResults = isset($options['maxResults']) ? $options['maxResults'] : null; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - protected function raw($endpoint, $params = [], $method='GET') |
|
| 73 | + protected function raw($endpoint, $params = [], $method = 'GET') |
|
| 74 | 74 | { |
| 75 | 75 | if (!is_null($this->key)) { |
| 76 | 76 | $params['key'] = $this->key; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @param string $preferredSize |
| 32 | 32 | * @return mixed|null |
| 33 | 33 | */ |
| 34 | - public function getCover($preferredSize='extraLarge') |
|
| 34 | + public function getCover($preferredSize = 'extraLarge') |
|
| 35 | 35 | { |
| 36 | 36 | $url = null; |
| 37 | 37 | |