Completed
Push — master ( 1412d2...f97b5b )
by Sam
02:28
created
src/cli/Manager/PersistenceManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/cli/Manager/WebSocketManager.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,14 +136,12 @@
 block discarded – undo
136 136
 			$logger->debug('Got message from client (type: {messageType})', [
137 137
 				'messageType' => $message->getType(),
138 138
 			]);
139
-		}
140
-		catch (MalformedRequestException $e)
139
+		} catch (MalformedRequestException $e)
141 140
 		{
142 141
 			$logger->error('Got malformed message from client (reason: {reason})', [
143 142
 				'reason' => $e->getMessage(),
144 143
 			]);
145
-		}
146
-		catch (UnknownRequestException $e)
144
+		} catch (UnknownRequestException $e)
147 145
 		{
148 146
 			// The server itself sometimes sends out messages that are received here, hence debug
149 147
 			$logger->debug('Got unknown message from client');
Please login to merge, or discard this patch.
src/cli/Manager/StatusManager.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,8 +224,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.