Improve protected field metadata
[civicrm-core.git] / CRM / Mailing / MailStore / Pop3.php
index b43e25e499c3d2d6f7d2aa25832c2079aad31a78..c552c3e18c7bb5871ae6ac7560b645141ba01f95 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  */
 
 /**
@@ -55,22 +55,22 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
       print "connecting to $host and authenticating as $username\n";
     }
 
-    $options = array('ssl' => $ssl);
+    $options = ['ssl' => $ssl];
     $this->_transport = new ezcMailPop3Transport($host, NULL, $options);
     $this->_transport->authenticate($username, $password);
 
-    $this->_ignored = $this->maildir(implode(DIRECTORY_SEPARATOR, array(
-          'CiviMail.ignored',
-          date('Y'),
-          date('m'),
-          date('d'),
-        )));
-    $this->_processed = $this->maildir(implode(DIRECTORY_SEPARATOR, array(
-          'CiviMail.processed',
-          date('Y'),
-          date('m'),
-          date('d'),
-        )));
+    $this->_ignored = $this->maildir(implode(DIRECTORY_SEPARATOR, [
+      'CiviMail.ignored',
+      date('Y'),
+      date('m'),
+      date('d'),
+    ]));
+    $this->_processed = $this->maildir(implode(DIRECTORY_SEPARATOR, [
+      'CiviMail.processed',
+      date('Y'),
+      date('m'),
+      date('d'),
+    ]));
   }
 
   /**