Skip to content

Commit

Permalink
Support v2.0 for psr/http-message (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Jun 15, 2023
1 parent 20fff71 commit 4461b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": ">=8.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1"
"psr/http-message": "^1.1|^2.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Message/ServerRequestPlusInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getUploadedFiles(): array;
public function setUploadedFiles(array $uploadedFiles): static;

/** @param array<UploadedFileInterface> $uploadedFiles */
public function withUploadedFiles(array $uploadedFiles);
public function withUploadedFiles(array $uploadedFiles): static;

/** @return array<mixed> */
public function getAttributes(): array;
Expand Down

0 comments on commit 4461b7a

Please sign in to comment.