]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/output/debug/error/class_DebugErrorLogOutput.php
Continued:
[core.git] / framework / main / classes / output / debug / error / class_DebugErrorLogOutput.php
index 5690466e1eab7e648729466a1d731e328ce24cf2..b0b8cb08a4dadde31d092bb7139060b4263597a2 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\Stream\Output\OutputStreamer;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -36,7 +36,7 @@ class DebugErrorLogOutput extends BaseDebugOutput implements Debugger, OutputStr
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -74,8 +74,8 @@ class DebugErrorLogOutput extends BaseDebugOutput implements Debugger, OutputStr
                        if (!empty($err)) {
                                // Log this line
                                error_log(html_entity_decode(strip_tags($err)), 0);
-                       } // END - if
-               } // END - foreach
+                       }
+               }
        }
 
        /**