Skip to content

Commit

Permalink
Adding throwable method for IDN conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Aug 7, 2023
1 parent e2ef23d commit 7d0da8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Idna/ConversionFailed.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function dueToError(string $host, Result $result): self
return new self('The host `'.$host.'` could not be converted: '.implode('; ', $reasons).'.', $result);
}

public function result(): Result
public function getResult(): Result
{
return $this->result;
}
Expand Down

0 comments on commit 7d0da8a

Please sign in to comment.