thephpleague / omnipay

A framework agnostic, multi-gateway payment processing library for PHP 5.6+
http://omnipay.thephpleague.com/
MIT License
5.93k stars 927 forks source link

Using with laravel 10 #695

Open GalBrigitta opened 11 months ago

GalBrigitta commented 11 months ago

Works fine with laravel 10, but when I want to use the laravel built in mailable (like in the verification or registration), got this error: ArgumentCountError: Too few arguments to function Illuminate\Notifications\Channels\MailChannel::Illuminate\Notifications\Channels{closure}(), 0 passed in C:....\vendor\bytic\utility\src\helpers\general.php on line 103 and exactly 1 expected in file C:......\vendor\laravel\framework\src\Illuminate\Notifications\Channels\MailChannel.php on line 114

0 C:....\vendor\bytic\utility\src\helpers\general.php(103): Illuminate\Notifications\Channels\MailChannel->Illuminate\Notifications\Channels{closure}()

Obviously without this package there is no issue.