Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Feb 17, 2023
1 parent a82afdb commit 6a5f45d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/HasParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

namespace TiMacDonald\Middleware;



use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use ReflectionMethod;
Expand Down
1 change: 1 addition & 0 deletions tests/HasParametersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use Tests\Middleware\Variadic;
use TiMacDonald\Middleware\HasParameters;
use TypeError;

use const PHP_MAJOR_VERSION;

/**
Expand Down
1 change: 1 addition & 0 deletions tests/Middleware/OptionalRequired.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Closure;
use Illuminate\Http\Request;
use TiMacDonald\Middleware\HasParameters;

use const PHP_MAJOR_VERSION;

// Cannot have optional parameter before required parameter in PHP >=8.0.
Expand Down

0 comments on commit 6a5f45d

Please sign in to comment.