Open mzur opened 1 month ago
Same here @mzur
SAme here. Any updates on this?
the same error
This appears to have been caused by the changed generics in https://github.com/laravel/framework/pull/52005. Applying the changes described there solved the issue for us.
@JeftavanderHorst adding /** @use HasFactory<UserFactory> */
?
Describe the bug I installed a fresh setup of Laravel 11 (PHP 8.2) with
composer create-project laravel/laravel example-app
. Then I downgraded PHPUnit (because of #384) withcomposer require --dev -W phpunit/phpunit:^10
and installed Psalm withcomposer require --dev -W psalm/plugin-laravel
. Next I run steps 2-4 of the quickstart instructions.I get the following error:
Impacted Versions
Additional context This seems related to the
HasFactory
trait of the defaultUser
model. Any hints where else I could look?