Passed
Push — master ( b1bd76...be2fa3 )
by Vicens
02:41
created
src/Providers/CaptchaServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $this->mergeConfigFrom(__DIR__ . '/../../config/captcha.php', 'captcha');
42 42
 
43 43
         //注册到容器中
44
-        $this->app->singleton('captcha', function () {
44
+        $this->app->singleton('captcha', function() {
45 45
 
46 46
             $config = config('captcha', array());
47 47
 
Please login to merge, or discard this patch.
src/Facades/Captcha.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public static function routes($path = '/captcha')
48 48
     {
49 49
 
50
-        app('router')->get($path, function () {
50
+        app('router')->get($path, function() {
51 51
 
52 52
             return app('captcha')->make()->response();
53 53
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     public static function validations()
71 71
     {
72 72
 
73
-        app('validator')->extend('captcha', function ($attribute, $value) {
73
+        app('validator')->extend('captcha', function($attribute, $value) {
74 74
 
75 75
             return app('captcha')->check($value);
76 76
         });
Please login to merge, or discard this patch.