• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

systemsdk / docker-nginx-php-laravel / #63

pending completion
#63

push

DKravtsov
Laravel 10, updated composer dependencies.

1 of 1 new or added line in 1 file covered. (100.0%)

19 of 42 relevant lines covered (45.24%)

0.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/Http/Middleware/Authenticate.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Http\Middleware;
6

7
use Illuminate\Auth\Middleware\Authenticate as Middleware;
8
use Illuminate\Http\Request;
9

10
class Authenticate extends Middleware
11
{
12
    /**
13
     * Get the path the user should be redirected to when they are not authenticated.
14
     */
15
    protected function redirectTo(Request $request): ?string
16
    {
17
        return $request->expectsJson() ? null : route('login');
×
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc