Skip to content

Commit c71565f

Browse files
committed
Update code style
1 parent 09bc1fc commit c71565f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Client.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,19 @@ public function on(RequestMatcher $requestMatcher, $result)
119119
switch (true) {
120120
case is_callable($result):
121121
$callable = $result;
122+
122123
break;
123124
case $result instanceof ResponseInterface:
124125
$callable = function () use ($result) {
125126
return $result;
126127
};
128+
127129
break;
128130
case $result instanceof \Exception:
129131
$callable = function () use ($result) {
130132
throw $result;
131133
};
134+
132135
break;
133136
default:
134137
throw new \InvalidArgumentException('Result must be either a response, an exception, or a callable');

0 commit comments

Comments
 (0)