Passed
Push — master ( 9bc42c...1894bb )
by Vicens
01:43
created
src/Providers/CaptchaServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $this->loadRoutesFrom(__DIR__ . '/../routes.php');
31 31
 
32 32
         // 注册验证器
33
-        Validator::extend('captcha', function ($attribute, $value) {
33
+        Validator::extend('captcha', function($attribute, $value) {
34 34
 
35 35
             return $this->app['captcha']->check($value);
36 36
         });
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $this->mergeConfigFrom(__DIR__ . '/../config.php', 'captcha');
48 48
 
49 49
         // 注册服务
50
-        $this->app->singleton('captcha', function () {
50
+        $this->app->singleton('captcha', function() {
51 51
 
52 52
             $config = Config::get('captcha', array());
53 53
 
Please login to merge, or discard this patch.