Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 5.6 commands must be called from handle method. #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Laravel 5.6 commands must be called from handle method. #12

wants to merge 1 commit into from

Conversation

patronelli87
Copy link

Fixes this:

php artisan make:migration:json

   ReflectionException  : Method Mojopollo\Schema\Commands\MakeMigrationJsonCommand::handle() does not exist

  at /var/www/testing.xppia.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:135
    131|             $callback = explode('::', $callback);
    132|         }
    133|
    134|         return is_array($callback)
  > 135|                         ? new ReflectionMethod($callback[0], $callback[1])
    136|                         : new ReflectionFunction($callback);
    137|     }
    138|
    139|     /**

  Exception trace:

  1   ReflectionMethod::__construct(Object(Mojopollo\Schema\Commands\MakeMigrationJsonCommand), "handle")
      /var/www/testing.xppia.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:135

  2   Illuminate\Container\BoundMethod::getCallReflector()
      /var/www/testing.xppia.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:115

  Please use the argument -v to see more details.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ea1c4c8 on rafflesargentina:master into cf8f50c on mojopollo:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants