Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Hostname.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,12 @@ class Hostname extends AbstractValidator
);

/**
* Sets validator options
* Sets validator options.
*
* @param int $allow OPTIONAL Set what types of hostname to allow (default ALLOW_DNS)
* @param bool $validateIdn OPTIONAL Set whether IDN domains are validated (default true)
* @param bool $validateTld OPTIONAL Set whether the TLD element of a hostname is validated (default true)
* @param Ip $ipValidator OPTIONAL
* @param int $allow OPTIONAL Set what types of hostname to allow (default ALLOW_DNS)
* @param bool $useIdnCheck OPTIONAL Set whether IDN domains are validated (default true)
* @param bool $useTldCheck Set whether the TLD element of a hostname is validated (default true)
* @param Ip $ipValidator OPTIONAL
* @see http://www.iana.org/cctld/specifications-policies-cctlds-01apr02.htm Technical Specifications for ccTLDs
*/
public function __construct($options = array())
Expand Down

0 comments on commit 943d333

Please sign in to comment.