Better this way
[core.git] / inc / classes / main / streams / input / class_
index f72b979dfc01a6ae48f0dfb0b17cacc4bf800d99..108f48f23b64142c6067e369aaf466799c7dc99d 100644 (file)
@@ -37,7 +37,7 @@ class ???InputStream extends BaseStream implements InputStreamable {
         *
         * @return      $streamInstance         An instance of this node class
         */
-       public final static function create???InputStream (Requestable $requestInstance) {
+       public final static function create???InputStream () {
                // Get a new instance
                $streamInstance = new ???InputStream();
 
@@ -53,7 +53,7 @@ class ???InputStream extends BaseStream implements InputStreamable {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
-               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }