Skip to content

Fix ext/uri: getScheme return type and getUsername seealso#2716

Merged
lacatoire merged 1 commit intophp:masterfrom
lacatoire:fix/uri-getscheme-getusername
Apr 6, 2026
Merged

Fix ext/uri: getScheme return type and getUsername seealso#2716
lacatoire merged 1 commit intophp:masterfrom
lacatoire:fix/uri-getscheme-getusername

Conversation

@lacatoire
Copy link
Copy Markdown
Member

Fix two issues in the ext/uri translation:

  • Uri\WhatWg\Url::getScheme: return type was string|null instead of string
  • Uri\Rfc3986\Uri::getUsername: seealso referenced getPassword instead of getRawUserInfo

- Fix Uri\WhatWg\Url::getScheme return type: string instead of string|null
- Fix Uri\Rfc3986\Uri::getUsername seealso: getRawUserInfo instead of getPassword
@lacatoire lacatoire merged commit 89aaf23 into php:master Apr 6, 2026
3 checks passed
@lacatoire lacatoire deleted the fix/uri-getscheme-getusername branch April 6, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant