Skip to content

Commit af9b052

Browse files
committed
fix null issue
1 parent 380ad3d commit af9b052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Processors/RouteProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function processRequest(string $method, Stringable $uri, Collection $r
125125
return collect([
126126
'method' => strtoupper($method),
127127
'header' => collect($this->config['headers'])
128-
->push($this->authentication->toArray())
128+
->push($this->authentication?->toArray())
129129
->all(),
130130
'url' => [
131131
'raw' => '{{base_url}}/'.$uri,

0 commit comments

Comments
 (0)