Skip to content

Commit efb2f3f

Browse files
committed
typo fix in documentation
1 parent e8cca92 commit efb2f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ use Pdp\TopLevelDomains;
117117

118118
$rules = TopLevelDomains::createFromPath('/path/to/iana/tlds-alpha-by-domain.txt');
119119

120-
echo $rules->resolve('www.UlB.Ac.bE'); //display 'be';
120+
echo $rules->resolve('www.UlB.Ac.bE')->getPublicSuffix(); //display 'be';
121121
~~~
122122

123123
If the Domain is not resolved or in case of error a null `Pdp\Domain` is returned.

0 commit comments

Comments
 (0)