@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Get the services provided by the provider. |
| 109 | 109 | * |
| 110 | - * @return array |
|
| 110 | + * @return string[] |
|
| 111 | 111 | */ |
| 112 | 112 | public function provides() |
| 113 | 113 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | // Call the parent constructor with all provided arguments |
| 39 | 39 | $arguments = func_get_args(); |
| 40 | 40 | call_user_func_array( |
| 41 | - [$this, 'parent::' . __FUNCTION__], |
|
| 41 | + [$this, 'parent::'.__FUNCTION__], |
|
| 42 | 42 | $arguments |
| 43 | 43 | ); |
| 44 | 44 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | // instanciating the driver in the laravel config won't |
| 81 | 81 | // allow me to cache the config files (PHP can't serialize it). |
| 82 | 82 | // So i will instanciate it here. |
| 83 | - if(!array_key_exists('handler', $config['options']['cache'])) { |
|
| 83 | + if (!array_key_exists('handler', $config['options']['cache'])) { |
|
| 84 | 84 | $config['options']['cache']['handler'] = new PredisCache(new \Predis\Client()); |
| 85 | 85 | } |
| 86 | 86 | // END: custom fix |
@@ -62,6 +62,6 @@ |
||
| 62 | 62 | */ |
| 63 | 63 | private function defaultConfig() |
| 64 | 64 | { |
| 65 | - return __DIR__ . '/config/tmdb.php'; |
|
| 65 | + return __DIR__.'/config/tmdb.php'; |
|
| 66 | 66 | } |
| 67 | 67 | } |