Passed
Push — master ( 5c5c3f...2a147b )
by Vicens
01:55
created

src/routes.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
use Illuminate\Support\Facades\Route;
4
use Illuminate\Support\Facades\Config;
5
use Vicens\Captcha\Facades\Captcha;
6
7
// 注册路由
8
Route::get(Config::get('captcha.route', 'captcha'), function () {
9
10
    return Captcha::make()->response();
11
12
})->name(Config::get('captcha.routeName', 'captcha'));
0 ignored issues
show
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
13