Vapid keys generation fails (Laravel 8 / PHP 8.1)
Noone faces this? Did not find a relevant issue...
strlen(): Passing null to parameter #1 ($string) of type string is deprecated
at vendor/laravel-notification-channels/webpush/src/VapidKeysGenerateCommand.php:59
55▕ protected function setKeysInEnvironmentFile($keys)
56▕ {
57▕ $currentKeys = $this->laravel['config']['webpush.vapid'];
58▕
➜ 59▕ if (strlen($currentKeys['public_key']) !== 0 && (! $this->confirmToProceed())) {
60▕ return false;
61▕ }
62▕
63▕ $this->writeNewEnvironmentFileWith($keys);