@@ -80,7 +80,7 @@ |
||
80 | 80 | { |
81 | 81 | $manifest = []; |
82 | 82 | |
83 | - $packages = array_filter($packages, function ($package) { |
|
83 | + $packages = array_filter($packages, function($package) { |
|
84 | 84 | return $package['type'] === self::PACKAGE_TYPE; |
85 | 85 | }); |
86 | 86 |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | protected function registerRoutes() |
50 | 50 | { |
51 | - Route::prefix('easywechat-composer')->namespace('EasyWeChatComposer\Laravel\Http\Controllers')->group(function () { |
|
51 | + Route::prefix('easywechat-composer')->namespace('EasyWeChatComposer\Laravel\Http\Controllers')->group(function() { |
|
52 | 52 | $this->loadRoutesFrom(__DIR__.'/routes.php'); |
53 | 53 | }); |
54 | 54 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | protected function getMd5Key() |
105 | 105 | { |
106 | - return Cache::remember('easywechat-composer.encryption_key', 30, function () { |
|
106 | + return Cache::remember('easywechat-composer.encryption_key', 30, function() { |
|
107 | 107 | throw_unless(file_exists($path = base_path('composer.lock')), RuntimeException::class, 'No encryption key provided.'); |
108 | 108 | |
109 | 109 | return md5_file($path); |