You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I now receive this error on my local version after composer global update. Nothing changed in my code and everything worked properly before the composer update.
This is line 28:
Route::macro('webhooks', fn (string $url, string $name = 'default') => Route::post($url, '\Spatie\WebhookClient\WebhookController')->name("webhook-client-{$name}"));
I now receive this error on my local version after composer global update. Nothing changed in my code and everything worked properly before the composer update.
This is line 28:
Route::macro('webhooks', fn (string $url, string $name = 'default') => Route::post($url, '\Spatie\WebhookClient\WebhookController')->name("webhook-client-{$name}"));
this is a laravel 6 project.
I get this error in artisan:
Symfony\Component\Debug\Exception\FatalThrowableError : syntax error
at /Users/.../Sites/ws/vendor/spatie/laravel-webhook-client/src/WebhookClientServiceProvider.php:28
24| DIR.'/../database/migrations/create_webhook_calls_table.php.stub' => database_path("migrations/{$timestamp}_create_webhook_calls_table.php"),
25| ], 'migrations');
26| }
27|
Exception trace:
1 Composer\Autoload\includeFile("/Users/..../Sites/ws/vendor/composer/../spatie/laravel-webhook-client/src/WebhookClientServiceProvider.php")
/Users/..../Sites/ws/vendor/composer/ClassLoader.php:322
2 Composer\Autoload\ClassLoader::loadClass("Spatie\WebhookClient\WebhookClientServiceProvider")
[internal]:0
Any clue as to how to fix this issue? Thank you. - Jon
The text was updated successfully, but these errors were encountered: