Skip to content

Commit f8cf137

Browse files
authored
Merge pull request #17 from amirhshokri/remove-redundant-variables
Remove redundant variables
2 parents b676f17 + 6183b73 commit f8cf137

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/SendJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function handle(): void
5656
$httpClient = new Client($httpClientOption);
5757

5858
try {
59-
$response = $httpClient->post($this->url, $requestOptions);
59+
$httpClient->post($this->url, $requestOptions);
6060
} catch (\Throwable $exception) {
6161
$this->fail($exception);
6262
}

src/TopicDetector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ protected function getMainLivewireClass(): array
221221
$method = null;
222222

223223
try {
224-
$request = request();
225-
$payload = $request->all();
224+
$payload = request()->all();
226225

227226
if (isset($payload['components'][0])) {
228227
$componentData = $payload['components'][0];

0 commit comments

Comments
 (0)