Passed
Push — master ( 1dc82e...2fb588 )
by Vicens
14:02 queued 11:46
created
src/Providers/CaptchaServiceProvider.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * 延迟加载的服务
51 51
      *
52
-     * @return array
52
+     * @return string[]
53 53
      */
54 54
     public function provides()
55 55
     {
Please login to merge, or discard this patch.
src/Facades/Captcha.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * 生成验证码图片标签
24 24
      *
25
-     * @return string
25
+     * @return HtmlString
26 26
      */
27 27
     public static function image()
28 28
     {
Please login to merge, or discard this patch.