X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FConsoleTee.php;h=deace1616e76eb76f722bc49bd9c676435718dd2;hb=f299f7db79fed6f3598c84302966bda087e7cac3;hp=f0517dc4cd498a1badcda95d0a6ddda6167ab361;hpb=fa3cdb8efb79c28c9f425543815556f6cfefe9ac;p=civicrm-core.git diff --git a/CRM/Utils/ConsoleTee.php b/CRM/Utils/ConsoleTee.php index f0517dc4cd..deace1616e 100644 --- a/CRM/Utils/ConsoleTee.php +++ b/CRM/Utils/ConsoleTee.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2019 | + | 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; }