Completed
Push — master ( db1e7e...28fc27 )
by Songda
08:23 queued 41s
created
src/PayServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      *
58 58
      * @author yansongda <[email protected]>
59 59
      *
60
-     * @return array
60
+     * @return string[]
61 61
      */
62 62
     public function provides()
63 63
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     {
26 26
         if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
27 27
             $this->publishes([
28
-                dirname(__DIR__).'/config/pay.php' => config_path('pay.php')],
28
+                dirname(__DIR__) . '/config/pay.php' => config_path('pay.php') ],
29 29
                 'laravel-pay'
30 30
             );
31 31
         } elseif ($this->app instanceof LumenApplication) {
@@ -42,12 +42,12 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function register()
44 44
     {
45
-        $this->mergeConfigFrom(dirname(__DIR__).'/config/pay.php', 'pay');
45
+        $this->mergeConfigFrom(dirname(__DIR__) . '/config/pay.php', 'pay');
46 46
 
47
-        $this->app->singleton('pay.alipay', function () {
47
+        $this->app->singleton('pay.alipay', function() {
48 48
             return Pay::alipay(config('pay.alipay'));
49 49
         });
50
-        $this->app->singleton('pay.wechat', function () {
50
+        $this->app->singleton('pay.wechat', function() {
51 51
             return Pay::wechat(config('pay.wechat'));
52 52
         });
53 53
     }
@@ -61,6 +61,6 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function provides()
63 63
     {
64
-        return ['pay.alipay', 'pay.wechat'];
64
+        return [ 'pay.alipay', 'pay.wechat' ];
65 65
     }
66 66
 }
Please login to merge, or discard this patch.