Completed
Pull Request — master (#64)
by
unknown
01:16
created
src/TmdbServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/TmdbServiceProviderLaravel5.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.