@@ -251,7 +251,7 @@ |
||
| 251 | 251 | |
| 252 | 252 | |
| 253 | 253 | /** |
| 254 | - * @param $instanceName |
|
| 254 | + * @param string $instanceName |
|
| 255 | 255 | * @param ConnectionStatus $connectionStatus |
| 256 | 256 | * |
| 257 | 257 | * @return bool whether the connection exists in the database |
@@ -224,8 +224,7 @@ |
||
| 224 | 224 | |
| 225 | 225 | $this->_eventDispatcher->dispatch(Events::INSTANCE_STATE_REACHABLE, |
| 226 | 226 | new InstanceStateEvent($instance)); |
| 227 | - } |
|
| 228 | - catch (\Exception $e) |
|
| 227 | + } catch (\Exception $e) |
|
| 229 | 228 | { |
| 230 | 229 | $this->_eventDispatcher->dispatch(Events::INSTANCE_STATE_UNREACHABLE, |
| 231 | 230 | new InstanceStateEvent($instance)); |