Skip to content

Commit

Permalink
fix: 修复一处语法异常
Browse files Browse the repository at this point in the history
  • Loading branch information
kyour-cn committed Aug 9, 2023
1 parent 50de844 commit ad9486a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/MessageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MessageFactory implements MessageFactoryInterface
*
* @return RequestInterface
*/
public function createRequest($method, $uri, array $headers = [], array $options = [])
public function createRequest($method, $uri, array $headers = [], array $options = []): RequestInterface
{
$body = Json::encode($this->addIdToRequest($method, $options));

Expand Down

0 comments on commit ad9486a

Please sign in to comment.