Skip to content

Commit dd797eb

Browse files
authored
Merge pull request #96 from TryV/main
fix: remove null items while authentication is not specified
2 parents c4055d9 + 6c9116f commit dd797eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Processors/RouteProcessor.php

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ protected function processRequest(string $method, Stringable $uri, Collection $r
142142
'method' => strtoupper($method),
143143
'header' => collect($this->config['headers'])
144144
->push($this->authentication?->toArray())
145+
->filter()
146+
->values()
145147
->all(),
146148
'url' => [
147149
'raw' => '{{base_url}}/'.$uri,

0 commit comments

Comments
 (0)