diff --git a/src/Middleware/ApiVersionControl.php b/src/Middleware/ApiVersionControl.php index 334e3a6..c1e9993 100644 --- a/src/Middleware/ApiVersionControl.php +++ b/src/Middleware/ApiVersionControl.php @@ -25,8 +25,8 @@ public function __construct(array $config = null) public function handle(Request $request, Closure $next): SymfonyResponse { $pipes = MiddlewareCollection::createFromConfig($request, $this->config) - ->permitVersionStatement() ->filterByVersionCompare() + ->permitVersionStatement() ->flatten() ->rejectNonPipe() ->unique()