Skip to content

Commit

Permalink
fix: make it work on php 7
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Oct 20, 2021
1 parent 9c8ebb8 commit fe7d851
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -22,7 +22,7 @@
],
"minimum-stability": "stable",
"require": {
"php": "^8.0",
"php": "^7.4|^8.0",
"psr/http-message": "^1.0",
"guzzlehttp/psr7": "^2"
},
Expand Down
4 changes: 3 additions & 1 deletion src/ResolveUriTrait.php
Expand Up @@ -18,9 +18,11 @@
trait ResolveUriTrait
{
/**
* @param string|UriInterface $baseUri
* @param string|UriInterface $uri
* @return UriInterface
*/
public function resolveUriFor(string|UriInterface $baseUri, string|UriInterface $uri): UriInterface
public function resolveUriFor($baseUri, $uri): UriInterface
{
$base = Utils::uriFor($baseUri);
$rel = Utils::uriFor($uri);
Expand Down

0 comments on commit fe7d851

Please sign in to comment.