Rewritten a lot double-quotes to single-requotes, removed deprecated exception, some...
[core.git] / inc / classes / main / output / class_ConsoleOutput.php
index b0df4fefb887dbc4f93ab3f78b117417487ee71b..f149914c8e5aeee696a323f6cbc9fc20207f0592 100644 (file)
@@ -58,11 +58,12 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer {
                self::$consoleInstance = new ConsoleOutput();
 
                // Set the content type
+               // @TODO Need to rewrite this to $requestInstance->addHeader()
                if (!empty($contentType)) {
                        @header(sprintf("Content-type: %s",
                                $contentType
                        ));
-               }
+               } // END - if
 
                // Return instance
                return self::$consoleInstance;
@@ -87,7 +88,7 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer {
         * @param       $outStream      Something we shall sent to the console
         * @return      void
         */
-       public final function output ($outStream=false) {
+       public final function output ($outStream = false) {
                if ($outStream === false) {
                        // Output something here...
                        foreach ($this->vars as $var => $value) {