]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/output/console/class_ConsoleOutput.php
Continued:
[core.git] / framework / main / classes / output / console / class_ConsoleOutput.php
index aaaf94352d3d8ab825168586dac63cece0ec01c5..25b5527f10c42ef299cc759600ae92d6acd60e0b 100644 (file)
@@ -14,7 +14,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
  *
@@ -42,7 +42,7 @@ class ConsoleOutput extends BaseOutput implements OutputStreamer {
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -66,7 +66,7 @@ class ConsoleOutput extends BaseOutput implements OutputStreamer {
                        @header(sprintf('Content-type: %s',
                                $contentType
                        ));
-               } // END - if
+               }
 
                // Return instance
                return self::$consoleInstance;
@@ -82,7 +82,7 @@ class ConsoleOutput extends BaseOutput implements OutputStreamer {
                if (is_null(self::$consoleInstance)) {
                        $contentType = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('web_content_type');
                        self::$consoleInstance = ConsoleOutput::createConsoleOutput($contentType);
-               } // END - if
+               }
 
                // Return the instance
                return self::$consoleInstance;