File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ public function isPrivate(): bool
474
474
/**
475
475
* {@inheritdoc}
476
476
*/
477
- public function toAscii (): self
477
+ public function toAscii (): DomainInterface
478
478
{
479
479
if (null === $ this ->domain ) {
480
480
return $ this ;
@@ -491,7 +491,7 @@ public function toAscii(): self
491
491
/**
492
492
* {@inheritdoc}
493
493
*/
494
- public function toUnicode (): self
494
+ public function toUnicode (): DomainInterface
495
495
{
496
496
if (null === $ this ->domain || false === strpos ($ this ->domain , 'xn-- ' )) {
497
497
return $ this ;
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ public function isPrivate(): bool
316
316
/**
317
317
* {@inheritdoc}
318
318
*/
319
- public function toAscii (): self
319
+ public function toAscii (): DomainInterface
320
320
{
321
321
if (null === $ this ->publicSuffix ) {
322
322
return $ this ;
@@ -333,7 +333,7 @@ public function toAscii(): self
333
333
/**
334
334
* {@inheritdoc}
335
335
*/
336
- public function toUnicode (): self
336
+ public function toUnicode (): DomainInterface
337
337
{
338
338
if (null === $ this ->publicSuffix || false === strpos ($ this ->publicSuffix , 'xn-- ' )) {
339
339
return $ this ;
You can’t perform that action at this time.
0 commit comments