Skip to content

Commit ebf4e6d

Browse files
authored
Use manager url rather than self
1 parent efb2f3f commit ebf4e6d

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
@@ -605,7 +605,7 @@ They are used when instantiated the returned object.
605605

606606
~~~php
607607
$manager = new Pdp\Manager(new Pdp\Cache(), new Pdp\CurlHttpClient());
608-
$tldCollection = $manager->getTLDs(self::RZD_URL);
608+
$tldCollection = $manager->getTLDs(Pdp\Manager::RZD_URL);
609609
$domain = $tldCollection->resolve('www.ulb.ac.be');
610610
echo $domain->getPublicSuffix(); // print 'be'
611611
~~~

0 commit comments

Comments
 (0)