lorisleiva / laravel-actions

⚡️ Laravel components that take care of one specific task
https://laravelactions.com
MIT License
2.52k stars 124 forks source link

Ide helper error #193

Closed abr4xas closed 2 years ago

abr4xas commented 2 years ago

Hello there,

I'm trying to use the ide helper but I'm having this error:

php artisan ide-helper:actions

   LogicException 

  You must call one of in() or append() methods before iterating over a Finder.

  at vendor/symfony/finder/Finder.php:611
    607▕      */
    608▕     public function getIterator(): \Iterator
    609▕     {
    610▕         if (0 === \count($this->dirs) && 0 === \count($this->iterators)) {
  ➜ 611▕             throw new \LogicException('You must call one of in() or append() methods before iterating over a Finder.');
    612▕         }
    613▕ 
    614▕         if (1 === \count($this->dirs) && 0 === \count($this->iterators)) {
    615▕             $iterator = $this->searchInDirectory($this->dirs[0]);

      +8 vendor frames 
  9   [internal]:0
      Illuminate\Support\LazyCollection::Illuminate\Support\{closure}()

      +2 vendor frames 
  12  [internal]:0
      Wulfheart\LaravelActionsIdeHelper\Service\ActionInfoFactory::Wulfheart\LaravelActionsIdeHelper\Service\{closure}("Lorisleiva\Actions\Concerns\AsObject")

Laravel 9.28 Php: 8.1

abr4xas commented 2 years ago

LOL wrong project repo xD

Wulfheart commented 2 years ago

I got the notification nevertheless. 😂