@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Get the services provided by the provider. |
33 | 33 | * |
34 | - * @return array |
|
34 | + * @return string[] |
|
35 | 35 | */ |
36 | 36 | public function provides() |
37 | 37 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public function register() |
21 | 21 | { |
22 | - $this->app->singleton('flickr', function ($app) { |
|
22 | + $this->app->singleton('flickr', function($app) { |
|
23 | 23 | $api = new Api(config('services.flickr.key', env('FLICKR_KEY'))); |
24 | 24 | |
25 | 25 | return new Flickr($api); |
@@ -86,7 +86,7 @@ |
||
86 | 86 | { |
87 | 87 | $parameters['photo_id'] = $photoId; |
88 | 88 | |
89 | - if (! is_null($secretId)) { |
|
89 | + if ( ! is_null($secretId)) { |
|
90 | 90 | $parameters['secret'] = $secretId; |
91 | 91 | } |
92 | 92 |
@@ -82,7 +82,7 @@ |
||
82 | 82 | */ |
83 | 83 | protected function parameters($array) |
84 | 84 | { |
85 | - if (! is_array($array)) { |
|
85 | + if ( ! is_array($array)) { |
|
86 | 86 | return; |
87 | 87 | } |
88 | 88 | $encoded = []; |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * @param string $apiKey |
34 | 34 | * @param string $format |
35 | 35 | * @param string $endpoint |
36 | - * @return void |
|
36 | + * @return Api |
|
37 | 37 | */ |
38 | 38 | public function __construct($apiKey, $format = 'php_serial', $endpoint = 'https://api.flickr.com/services/rest/') |
39 | 39 | { |