]> git.mxchange.org Git - core.git/blobdiff - framework/main/middleware/debug/class_DebugMiddleware.php
Continued:
[core.git] / framework / main / middleware / debug / class_DebugMiddleware.php
index 9e18693c4456e5f42e04f69a89da0107571f58fb..0d91375463355534266ab25da95a6d059e8a305a 100644 (file)
@@ -64,7 +64,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
         *                                                      configured for
         * @return      $debugInstance  An instance of this middleware class
         */
-       public static final function createDebugMiddleware ($outputClass, $className) {
+       public static final function createDebugMiddleware (string $outputClass, string $className) {
                //* DEBUG-DIE: */ die(__METHOD__.': outputClass=' . $outputClass . ',className=' . $className);
 
                // Create an instance if this middleware
@@ -119,7 +119,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
         * @param       $stripTags      Whether HTML tags shall be stripped out
         * @return      void
         */
-       public final function output ($outStream, $stripTags = false) {
+       public final function output (string $outStream, bool $stripTags = false) {
                // Is the output stream set
                if (empty($outStream)) {
                        // @TODO Initialization phase