Skip to content

Commit 6608d3e

Browse files
committed
fix: removed dead getFragment()
1 parent 61025e0 commit 6608d3e

4 files changed

Lines changed: 7 additions & 12 deletions

File tree

ext/uri/php_uri.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -968,11 +968,6 @@ PHP_METHOD(Uri_WhatWg_Url, getHostType)
968968
php_uri_parser_whatwg_host_type_read(uri_object->uri, return_value);
969969
}
970970

971-
PHP_METHOD(Uri_WhatWg_Url, getFragment)
972-
{
973-
php_uri_property_read_helper(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_URI_PROPERTY_NAME_FRAGMENT, PHP_URI_COMPONENT_READ_MODE_NORMALIZED_UNICODE);
974-
}
975-
976971
PHP_METHOD(Uri_WhatWg_Url, equals)
977972
{
978973
zend_object *that_object;

ext/uri/php_uri.stub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ public function getQuery(): ?string {}
263263
/** @implementation-alias Uri\Rfc3986\Uri::withQuery */
264264
public function withQuery(?string $query): static {}
265265

266+
/** @implementation-alias Uri\Rfc3986\Uri::getFragment */
266267
public function getFragment(): ?string {}
267268

268269
/** @implementation-alias Uri\Rfc3986\Uri::withFragment */

ext/uri/php_uri_arginfo.h

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/uri/php_uri_decl.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)