@@ -255,7 +255,7 @@ |
||
255 | 255 | /** |
256 | 256 | * 存储验证码 |
257 | 257 | * |
258 | - * @param $code |
|
258 | + * @param string $code |
|
259 | 259 | */ |
260 | 260 | protected function store($code) |
261 | 261 | { |
@@ -47,7 +47,7 @@ discard block |
||
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 |
||
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 | }); |