Mercurial > hg > cmmr2012-drupal-site
diff vendor/symfony/validator/Constraints/Url.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/vendor/symfony/validator/Constraints/Url.php Thu Feb 28 11:14:44 2019 +0000 +++ b/vendor/symfony/validator/Constraints/Url.php Thu Feb 28 13:11:55 2019 +0000 @@ -37,12 +37,12 @@ const INVALID_URL_ERROR = '57c2f299-1154-4870-89bb-ef3b1f5ad229'; - protected static $errorNames = array( + protected static $errorNames = [ self::INVALID_URL_ERROR => 'INVALID_URL_ERROR', - ); + ]; public $message = 'This value is not a valid URL.'; public $dnsMessage = 'The host could not be resolved.'; - public $protocols = array('http', 'https'); + public $protocols = ['http', 'https']; public $checkDNS = self::CHECK_DNS_TYPE_NONE; }