framework: An argument with name "class" already exists.

  • Laravel Version: 8.32.1
  • PHP Version: 7.4.16
  • Database Driver & Version: -

Description:

After upgrade laravel/framework from v. 8.31.0 to 8.32.1 throw error in console An argument with name "class" already exists. after dump-autoload. Reverting to a previous version fixes the problem

Steps To Reproduce:

composer upgrade laravel/framework

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Tbh, I really hope Laravel is not gonna think too much about community packages and all the stuff they do; would be a mess and they would not be able to add anything anymore to the ecosystem.

The PR they did was perfect, it’s simply up to us to fix the package, thanks for finding this problem and taking the time to investigate and discuss this topic 🙏

ah sorry, I misunderstood you there 👍

@driesvints, if you’re worried about conflicts with community packages, we could try to rename it to seeder. But what’s to say another package doesn’t call it that. 🙃