diff vendor/symfony/validator/Constraints/Url.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
line wrap: on
line diff
--- a/vendor/symfony/validator/Constraints/Url.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/validator/Constraints/Url.php	Thu Feb 28 13:21:36 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;
 }