Skip to content

Commit 7784d57

Browse files
CodeDreddactions-user
authored andcommitted
Fix styling
1 parent 8453e60 commit 7784d57

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/Client/Request.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public function arguments(): array
157157
{
158158
$doc = Document::fromXmlString($this->xmlContent());
159159
$method = $doc->locate(new SoapBodyLocator())?->firstElementChild;
160+
160161
return Arr::wrap(Arr::get(element_decode($method, traverse(new RemoveNamespaces())), 'node', []));
161162
}
162163

src/Ray/LaravelRay.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class LaravelRay
1111
{
1212
public function register()
1313
{
14-
SpatieRay::macro('showSoapRequests', function ($callable = null): RayProxy
15-
{
14+
SpatieRay::macro('showSoapRequests', function ($callable = null): RayProxy {
1615
$watcher = app(SoapClientWatcher::class);
16+
1717
return $this->handleWatcherCallable($watcher, $callable);
1818
});
1919
SpatieRay::macro('stopShowingSoapRequests', fn () => app(SoapClientWatcher::class)->disable());
@@ -34,10 +34,11 @@ protected function handleWatcherCallable(Watcher $watcher, Closure $callable = n
3434
if ($callable) {
3535
$callable();
3636

37-
if (!$wasEnabled) {
37+
if (! $wasEnabled) {
3838
$watcher->disable();
3939
}
4040
}
41+
4142
return $rayProxy;
4243
}
4344
}

src/Ray/SoapClientWatcher.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,4 @@ protected function handleResponse(Request $request, Response $response)
7070

7171
return app(Ray::class)->sendRequest($payload);
7272
}
73-
7473
}

src/SoapClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
use Soap\ExtSoapEngine\AbusedClient;
3434
use Soap\ExtSoapEngine\ExtSoapOptions;
3535
use Soap\ExtSoapEngine\Transport\TraceableTransport;
36-
use Soap\ExtSoapEngine\Wsdl\PassThroughWsdlProvider;
3736
use Soap\ExtSoapEngine\Wsdl\WsdlProvider;
3837
use Soap\Psr18Transport\Middleware\RemoveEmptyNodesMiddleware;
3938
use Soap\Psr18Transport\Psr18Transport;

src/SoapServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function registerService()
4747

4848
protected function registerRay()
4949
{
50-
if (!class_exists('Spatie\\LaravelRay\\Ray')) {
50+
if (! class_exists('Spatie\\LaravelRay\\Ray')) {
5151
return;
5252
}
5353
/** @var LaravelRay $macros */
@@ -60,7 +60,7 @@ protected function registerRay()
6060

6161
protected function bootRay()
6262
{
63-
if (!class_exists('Spatie\\LaravelRay\\Ray')) {
63+
if (! class_exists('Spatie\\LaravelRay\\Ray')) {
6464
return;
6565
}
6666

0 commit comments

Comments
 (0)