We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503744d commit a03e76cCopy full SHA for a03e76c
src/shared/Url.php
@@ -10,7 +10,6 @@
10
*/
11
namespace PharIo\Phive;
12
13
-use LogicException;
14
use const PHP_QUERY_RFC3986;
15
use function array_key_exists;
16
use function basename;
@@ -45,7 +44,7 @@ public static function isHttpsUrl(string $string): bool {
45
44
return stripos($string, 'https://') === 0;
46
}
47
48
- public function __construct(string $uri, ?string $filename = null, array $requiredHeaders = []) {
+ public function __construct(string $uri, string $filename = null, array $requiredHeaders = []) {
49
$components = $this->parseURL($uri);
50
$this->ensureHttps($components['scheme'] ?? '');
51
$this->uri = $uri;
0 commit comments