@@ -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 |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | protected function registerRoutes() |
52 | 52 | { |
53 | - Route::prefix('easywechat-composer')->namespace('EasyWeChatComposer\Laravel\Http\Controllers')->group(function () { |
|
53 | + Route::prefix('easywechat-composer')->namespace('EasyWeChatComposer\Laravel\Http\Controllers')->group(function() { |
|
54 | 54 | $this->loadRoutesFrom(__DIR__.'/routes.php'); |
55 | 55 | }); |
56 | 56 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | { |
108 | 108 | $ttl = (version_compare(Application::VERSION, '5.8') === -1) ? 30 : 1800; |
109 | 109 | |
110 | - return Cache::remember('easywechat-composer.encryption_key', $ttl, function () { |
|
110 | + return Cache::remember('easywechat-composer.encryption_key', $ttl, function() { |
|
111 | 111 | throw_unless(file_exists($path = base_path('composer.lock')), RuntimeException::class, 'No encryption key provided.'); |
112 | 112 | |
113 | 113 | return md5_file($path); |