Skip to content

Commit b521165

Browse files
CodeDreddactions-user
authored andcommitted
Fix styling
1 parent 0cc249b commit b521165

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/SoapClient.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,20 +341,24 @@ public function call(string $method, Validator|array $arguments = []): Response
341341
if ($result instanceof ResultProviderInterface) {
342342
$response = Response::fromSoapResponse($result->getResult());
343343
$this->dispatchResponseReceivedEvent($response);
344+
344345
return $response;
345346
}
346347
if (! $result instanceof ResultInterface) {
347348
$response = Response::fromSoapResponse($result);
348349
$this->dispatchResponseReceivedEvent($response);
350+
349351
return $response;
350352
}
351353
$response = new Response(new Psr7Response(200, [], $result));
352354
$this->dispatchResponseReceivedEvent($response);
355+
353356
return $response;
354357
} catch (\Exception $exception) {
355358
if ($exception instanceof \SoapFault) {
356359
$response = Response::fromSoapFault($exception);
357360
$this->dispatchResponseReceivedEvent($response);
361+
358362
return $response;
359363
}
360364
$previous = $exception->getPrevious();
@@ -478,7 +482,6 @@ protected function dispatchRequestSendingEvent()
478482
ray()->showEvents();
479483
event(new RequestSending($this->request));
480484
ray()->stopShowingEvents();
481-
482485
}
483486

484487
/**

tests/Unit/SoapClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function testSoapFake($action, $fake, $exspected)
143143
'without_fake_array' => "array",
144144
'with_fake_array_wrong_method' => "array",
145145
'with_fake_array' => "array",
146-
'with_fake_string' => "array"
146+
'with_fake_string' => "array",
147147
])]
148148
public function soapActionProvider(): array
149149
{

0 commit comments

Comments
 (0)