Skip to content

Commit 1884e25

Browse files
Fixed CS
1 parent 8cb036c commit 1884e25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Communication/Connection.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,9 @@ public function createSession($targetId): Session
246246
$response = $this->sendMessageSync(
247247
new Message('Target.attachToTarget', ['targetId' => $targetId])
248248
);
249-
if (empty($response['result']))
250-
throw new TargetDestroyed('The target was destroyed.');
249+
if (empty($response['result'])) {
250+
throw new TargetDestroyed('The target was destroyed.');
251+
}
251252
$sessionId = $response['result']['sessionId'];
252253
$session = new Session($targetId, $sessionId, $this);
253254

0 commit comments

Comments
 (0)