Better this way
[core.git] / inc / classes / main / streams / input / class_
index 935f1f0e85e3d098bdd4f5317ba2eaf433e29a57..108f48f23b64142c6067e369aaf466799c7dc99d 100644 (file)
@@ -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);
        }
 }