Skip to content

Commit

Permalink
Laravel Pint code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSteveKing committed Apr 21, 2023
1 parent b6939b3 commit 3f63458
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/Facades/Webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

namespace JustSteveKing\Webhooks\Facades;

use Closure;
use Illuminate\Foundation\Bus\PendingClosureDispatch;
use Illuminate\Foundation\Bus\PendingDispatch;
use Illuminate\Http\Client\Response;
use Illuminate\Support\Facades\Facade;
use JustSteveKing\HttpHelpers\Enums\Method;
use JustSteveKing\Webhooks\Builder\PendingWebhook;
Expand Down
3 changes: 2 additions & 1 deletion src/Factories/WebhookFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/
public function __construct(
private SigningContract $signer,
) {}
) {
}

/**
* Set the URL you want to send this payload to.
Expand Down
3 changes: 2 additions & 1 deletion src/Jobs/DispatchWebhookRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ final class DispatchWebhookRequest implements ShouldQueue

public function __construct(
public readonly PendingWebhook $webhook,
) {}
) {
}

public function handle(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Builder/PendingWebhookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@

Bus::assertDispatched(
command: DispatchWebhookRequest::class,
callback: fn (DispatchWebhookRequest $job) => $job->queue === 'test',
callback: fn (DispatchWebhookRequest $job) => 'test' === $job->queue,
);
})->with('urls');

0 comments on commit 3f63458

Please sign in to comment.