]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/output/class_ConsoleOutput.php
'public static final' is correct
[core.git] / inc / classes / main / output / class_ConsoleOutput.php
index a03b9512a76c758b1b3b8b7a8f9eb1db5eb0b0fc..544cd23ba7729493ab2b7ac3e53ea30ff3c79976 100644 (file)
@@ -44,7 +44,7 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer {
         * @param       $contentType    A valid content-type
         * @return      $debugInstance  An instance of this middleware class
         */
         * @param       $contentType    A valid content-type
         * @return      $debugInstance  An instance of this middleware class
         */
-       public final static function createConsoleOutput ($contentType) {
+       public static final function createConsoleOutput ($contentType) {
                // Cast the content-type to string
                $contentType = (string) $contentType;
                $contentType = trim($contentType);
                // Cast the content-type to string
                $contentType = (string) $contentType;
                $contentType = trim($contentType);
@@ -69,7 +69,7 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer {
         *
         * @return      $consoleInstance        An instance of this class
         */
         *
         * @return      $consoleInstance        An instance of this class
         */
-       public final static function getInstance() {
+       public static final function getInstance() {
                if (is_null(self::$consoleInstance)) {
                        $contentType = FrameworkConfiguration::getInstance()->getConfigEntry('web_content_type');
                        self::$consoleInstance = ConsoleOutput::createConsoleOutput($contentType);
                if (is_null(self::$consoleInstance)) {
                        $contentType = FrameworkConfiguration::getInstance()->getConfigEntry('web_content_type');
                        self::$consoleInstance = ConsoleOutput::createConsoleOutput($contentType);