Skip to content

Commit

Permalink
Update PSR-4 violation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kpscyber committed Dec 13, 2024
1 parent 4656ade commit 4bd0aa5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/omise-webhooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'signing_secret' => env('OMISE_WEBHOOK_SECRET'),

/*
* You can define a default job that should be run for all other Stripe event type
* You can define a default job that should be run for all other Omise event type
* without a job defined in next configuration.
* You may leave it empty to store the job in database but without processing it.
*/
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/OmiseWebhooksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Spatie\WebhookClient\WebhookConfig;
use Spatie\WebhookClient\WebhookProcessor;

class StripeWebhooksController
class OmiseWebhooksController
{
public function __invoke(Request $request, ?string $configKey = null)
{
Expand All @@ -19,7 +19,7 @@ public function __invoke(Request $request, ?string $configKey = null)
'signature_validator' => OmiseSignatureValidator::class,
'webhook_profile' => config('omise-webhooks.profile'),
'webhook_model' => config('omise-webhooks.model'),
'process_webhook_job' => ProcessOmiseWebhookJob::class,
'process_webhook_job' => ProcessOmiseWebhooksJob::class,
]);

return (new WebhookProcessor($request, $webhookConfig))->process();
Expand Down
2 changes: 1 addition & 1 deletion src/OmiseWebhooksProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Spatie\WebhookClient\Models\WebhookCall;
use Spatie\WebhookClient\WebhookProfile\WebhookProfile;

class OmiseWebhookProfile implements WebhookProfile
class OmiseWebhooksProfile implements WebhookProfile
{
public function shouldProcess(Request $request): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/ProcessOmiseWebhooksJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Spatie\WebhookClient\Jobs\ProcessWebhookJob;
use Spatie\WebhookClient\Models\WebhookCall;

class ProcessOmiseWebhookJob extends ProcessWebhookJob
class ProcessOmiseWebhooksJob extends ProcessWebhookJob
{
public function __construct(WebhookCall $webhookCall)
{
Expand Down

0 comments on commit 4bd0aa5

Please sign in to comment.