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

RonasIT / laravel-helpers / 8971211749

06 May 2024 02:57PM UTC coverage: 72.518% (-1.1%) from 73.658%
8971211749

Pull #116

github

web-flow
Merge 572ea95cd into 194095dc5
Pull Request #116: Added code that allows user to work with different versions.

12 of 33 new or added lines in 4 files covered. (36.36%)

9 existing lines in 1 file now uncovered.

884 of 1219 relevant lines covered (72.52%)

7.23 hits per line

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

0.0
/src/Middleware/RemovePathParamMiddleware.php
1
<?php
2

3
namespace RonasIT\Support\Middleware;
4

5
use Closure;
6
use Illuminate\Http\Request;
7

8
class RemovePathParamMiddleware
9
{
10
    public function handle(Request $request, Closure $next, $paramName = 'version')
11
    {
NEW
12
        $request->route()->forgetParameter($paramName);
×
13

NEW
14
        return $next($request);
×
15
    }
16
}
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