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 16c0d61 commit 331dcc0Copy full SHA for 331dcc0
src/Url.php
@@ -512,10 +512,10 @@ public function getAbsolute($url)
512
*/
513
private function setPath($path)
514
{
515
+ $this->info['path'] = $this->info['file'] = $this->info['extension'] = $this->info['content'] = null;
516
+
517
if ($this->getScheme() === 'data') {
518
$this->info['content'] = $path;
- $this->info['path'] = $this->info['file'] = $this->info['extension'] = null;
-
519
return;
520
}
521
@@ -531,7 +531,6 @@ private function setPath($path)
531
$this->info['extension'] = $match[2];
532
} else {
533
$this->info['file'] = $file;
534
- $this->info['extension'] = null;
535
536
537
0 commit comments