File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -466,31 +466,31 @@ public function isAsync(): bool
466466 /**
467467 * Get the request options.
468468 */
469- public function getOptions () : array
469+ public function getOptions (): array
470470 {
471471 return $ this ->options ;
472472 }
473473
474474 /**
475475 * Get the request headers.
476476 */
477- public function getHeaders () : array
477+ public function getHeaders (): array
478478 {
479479 return $ this ->options ['headers ' ] ?? [];
480480 }
481481
482482 /**
483483 * Determine if the request has a specific header.
484484 */
485- public function hasHeader (string $ header ) : bool
485+ public function hasHeader (string $ header ): bool
486486 {
487487 return isset ($ this ->options ['headers ' ][$ header ]);
488488 }
489489
490490 /**
491491 * Determine if the request has a specific option.
492492 */
493- public function hasOption (string $ option ) : bool
493+ public function hasOption (string $ option ): bool
494494 {
495495 return isset ($ this ->options [$ option ]);
496496 }
Original file line number Diff line number Diff line change @@ -132,20 +132,20 @@ public static function getDefaultOptions(): array;
132132 /**
133133 * Get the request options.
134134 */
135- public function getOptions () : array ;
135+ public function getOptions (): array ;
136136
137137 /**
138138 * Get the request headers.
139139 */
140- public function getHeaders () : array ;
140+ public function getHeaders (): array ;
141141
142142 /**
143143 * Determine if the request has a specific header.
144144 */
145- public function hasHeader (string $ header ) : bool ;
145+ public function hasHeader (string $ header ): bool ;
146146
147147 /**
148148 * Determine if the request has a specific option.
149149 */
150- public function hasOption (string $ option ) : bool ;
150+ public function hasOption (string $ option ): bool ;
151151}
You can’t perform that action at this time.
0 commit comments