@@ -263,8 +263,8 @@ discard block |
||
| 263 | 263 | * @return void |
| 264 | 264 | */ |
| 265 | 265 | public function warn(string $message, |
| 266 | - array $args = [], |
|
| 267 | - int $verbosity = Rivescript::VERBOSITY_DEBUG): void |
|
| 266 | + array $args = [], |
|
| 267 | + int $verbosity = Rivescript::VERBOSITY_DEBUG): void |
|
| 268 | 268 | { |
| 269 | 269 | $message = "[WARNING]: " . $this->formatString($message, $args); |
| 270 | 270 | |
@@ -281,8 +281,8 @@ discard block |
||
| 281 | 281 | * @return void |
| 282 | 282 | */ |
| 283 | 283 | public function debug(string $message, |
| 284 | - array $args = [], |
|
| 285 | - int $verbosity = Rivescript::VERBOSITY_NORMAL): void |
|
| 284 | + array $args = [], |
|
| 285 | + int $verbosity = Rivescript::VERBOSITY_NORMAL): void |
|
| 286 | 286 | { |
| 287 | 287 | $message = "[DEBUG]: " . $this->formatString($message, $args); |
| 288 | 288 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $rivescript->stream($script); |
| 26 | 26 | |
| 27 | 27 | $rivescript->on(Event::DEBUG, 'onDebug') |
| 28 | - ->on(Event::DEBUG_VERBOSE, 'onVerbose'); |
|
| 28 | + ->on(Event::DEBUG_VERBOSE, 'onVerbose'); |
|
| 29 | 29 | |
| 30 | 30 | |
| 31 | 31 | echo $rivescript->reply("hi bot"); |
| 32 | 32 | \ No newline at end of file |