Update copyright date for 2020
[civicrm-core.git] / CRM / Utils / ConsoleTee.php
index 1e1cce09319f121edd105a707ddc1009ebabdc53..deace1616e76eb76f722bc49bd9c676435718dd2 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018                                |
+ | Copyright CiviCRM LLC (c) 2004-2020                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -81,7 +81,7 @@ class CRM_Utils_ConsoleTee {
    */
   public function start($mode = 'w') {
     $this->fh = fopen($this->fileName, $mode);
-    ob_start(array($this, 'onOutput'));
+    ob_start([$this, 'onOutput']);
     return $this;
   }