Skip to content

Commit

Permalink
Restored compatibility with PHP5
Browse files Browse the repository at this point in the history
Min version raised to 5.6
  • Loading branch information
Christoph Singer committed Jul 25, 2018
1 parent faa2821 commit 9ae182a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.4
- 5.6
- 7.0
- 7.1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
},
"require": {
"php": ">=5.4"
"php": ">=5.6"
},
"suggest": {
"psr/http-message": "For using the Psr7Uri class implementing Psr\\Http\\Message\\UriInterface"
Expand Down
2 changes: 1 addition & 1 deletion src/Wa72/Url/Psr7Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static function fromUrl(Url $url)
* @param string $url
* @return Psr7Uri
*/
static function parse(string $url)
static function parse($url)
{
return new static(Url::parse($url));
}
Expand Down

0 comments on commit 9ae182a

Please sign in to comment.