Vinelab / NeoEloquent

The Neo4j OGM for Laravel
MIT License
633 stars 197 forks source link

MigrateMakeCommand::__invoke() does not exist error #363

Open devmrh opened 2 years ago

devmrh commented 2 years ago

hi, when im using this command php artisan neo4j:make:migration create_coin_label --label=Coin

i get this error: (laravel 8 & php 8.1)


ReflectionException 

  Method Vinelab\NeoEloquent\Console\Migrations\MigrateMakeCommand::__invoke() does not exist

  at vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:147
    143▕             $callback = [$callback, '__invoke'];
    144▕         }
    145▕ 
    146▕         return is_array($callback)
  ➜ 147▕                         ? new ReflectionMethod($callback[0], $callback[1])
    148▕                         : new ReflectionFunction($callback);
    149▕     }
    150▕ 
    151▕     /**

      +15 vendor frames 
  16  artisan:37
Syndesi commented 1 year ago

This issue was also mentioned on the Neo4j Discord server: https://discord.com/channels/787399249741479977/816630778505986058/1026563472575713402