@@ -146,7 +146,7 @@ |
||
| 146 | 146 | try { |
| 147 | 147 | /** @var ServiceDefinition $processor */ |
| 148 | 148 | $processor = $builder->getDefinition($this->prefix(self::SERVICE_CHAT_COMMANDS_PROCESSOR)); |
| 149 | - } catch(MissingServiceException ) { |
|
| 149 | + } catch(MissingServiceException) { |
|
| 150 | 150 | return; |
| 151 | 151 | } |
| 152 | 152 | $chatCommands = $builder->findByType(IChatCommand::class); |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | declare(strict_types=1); |
| 3 | 3 | |
| 4 | 4 | require __DIR__ . "/../vendor/autoload.php"; |
| 5 | -Testbench\Bootstrap::setup(__DIR__ . '/_temp', function (\Nette\Bootstrap\Configurator $configurator): void { |
|
| 6 | - $configurator->addStaticParameters(["appDir" => __DIR__,]); |
|
| 5 | +Testbench\Bootstrap::setup(__DIR__ . '/_temp', function(\Nette\Bootstrap\Configurator $configurator): void { |
|
| 6 | + $configurator->addStaticParameters(["appDir" => __DIR__, ]); |
|
| 7 | 7 | $configurator->addConfig(__DIR__ . "/tests.neon"); |
| 8 | 8 | }); |
| 9 | 9 | ?> |
| 10 | 10 | \ No newline at end of file |