Closed mhmiton closed 1 year ago
When I use php7.4, that works fine. But after migrate to php8, I get this error -
Required parameter $auth_token follows optional parameter $consumer_secret
ErrorException Required parameter $auth_token follows optional parameter $consumer_secret at vendor/parse/php-sdk/src/Parse/ParseUser.php:212 208| * @throws ParseException 209| * 210| * @return ParseUser 211| */ > 212| public static function logInWithTwitter( 213| $id, 214| $screen_name, 215| $consumer_key, 216| $consumer_secret = null, +13 vendor frames 14 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation\{closure}() +5 vendor frames 20 artisan:37 Illuminate\Foundation\Console\Kernel::handle()
Issue Description
When I use php7.4, that works fine. But after migrate to php8, I get this error -
Required parameter $auth_token follows optional parameter $consumer_secret
Environment Details
Logs/Traces
ErrorException Required parameter $auth_token follows optional parameter $consumer_secret at vendor/parse/php-sdk/src/Parse/ParseUser.php:212 208| * @throws ParseException 209| * 210| * @return ParseUser 211| */ > 212| public static function logInWithTwitter( 213| $id, 214| $screen_name, 215| $consumer_key, 216| $consumer_secret = null, +13 vendor frames 14 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation\{closure}() +5 vendor frames 20 artisan:37 Illuminate\Foundation\Console\Kernel::handle()