@@ -72,8 +72,7 @@ |
||
| 72 | 72 | try { |
| 73 | 73 | if (!empty($this->dispatchers[$dispatcherKey])) { |
| 74 | 74 | $this->dispatchers[$dispatcherKey]->dispatch($message); |
| 75 | - } |
|
| 76 | - else { |
|
| 75 | + } else { |
|
| 77 | 76 | throw new MessageDispatchException( |
| 78 | 77 | sprintf('No dispatcher available with key "%s"', $dispatcherKey) |
| 79 | 78 | ); |