]> 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 9dcae9763f803a0bdc145f9f6bd8af02a543a6b4..3ffff09fcfb9adfcfee9035b8a38af11e25494bb 100644 (file)
@@ -53,9 +53,8 @@ class ConsoleOutput extends BaseOutput implements OutputStreamer {
         * @param       $contentType    A valid content-type
         * @return      $debugInstance  An instance of this middleware class
         */
-       public static final function createConsoleOutput ($contentType) {
+       public static final function createConsoleOutput (string $contentType) {
                // Cast the content-type to string
-               $contentType = (string) $contentType;
                $contentType = trim($contentType);
 
                // Get instance