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
Because of that, on Laravel 9, psalm shows errors on this code:
Keyboard::make()
Error:
ERROR: TooManyTemplateParams - app/Modules/PasswordManager/Services/PasswordRequestMessageService.php:308:21 - Telegram\Bot\Keyboard\Keyboard<empty, empty> has too many template params, expecting 0 (see https://psalm.dev/184)
$keyboard = Keyboard::make()->inline();
Laravel 9 added PHPDoc template annotation (generics) in collections classes:
laravel/framework#38538
Because of that, on Laravel 9, psalm shows errors on this code:
Keyboard::make()
Error:
I added template annotations in this PR:
#928
The text was updated successfully, but these errors were encountered: