@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | public function execute(InputInterface $input, OutputInterface $output): int |
76 | 76 | { |
77 | 77 | try { |
78 | - $this->rivescript->onSay = function (string $msg, int $verbosity) use ($output) { |
|
78 | + $this->rivescript->onSay = function(string $msg, int $verbosity) use ($output) { |
|
79 | 79 | $output->writeln("Say: {$msg}", $verbosity); |
80 | 80 | }; |
81 | 81 | |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | $output->writeln('RiveScript Interpreter (PHP) -- Interactive Console v2.0'); |
91 | 91 | $output->writeln('--------------------------------------------------------'); |
92 | 92 | $output->writeln('RiveScript Version: 2.0'); |
93 | - $output->writeln('Currently Loaded Source: ' . $loadedSource); |
|
93 | + $output->writeln('Currently Loaded Source: '.$loadedSource); |
|
94 | 94 | $output->writeln(''); |
95 | 95 | $output->writeln('You are now chatting with a RiveScript bot. Type a message and press Return'); |
96 | 96 | $output->writeln('to send it. When finished, type "/quit" to exit the interactive console.'); |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $reply = $this->rivescript->reply($message); |
180 | 180 | $response = "<info>{$reply}</info>"; |
181 | 181 | |
182 | - $output->writeln($bot . $response); |
|
182 | + $output->writeln($bot.$response); |
|
183 | 183 | |
184 | 184 | $this->waitForUserInput($input, $output); |
185 | 185 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | if (is_dir($info)) { |
197 | 197 | $directory = realpath($info); |
198 | 198 | $files = []; |
199 | - $brains = glob($directory . '/*.rive'); |
|
199 | + $brains = glob($directory.'/*.rive'); |
|
200 | 200 | |
201 | 201 | foreach ($brains as $brain) { |
202 | 202 | $files[] = $brain; |