Zizaco / entrust

Role-based Permissions for Laravel 5
MIT License
6.05k stars 1.29k forks source link

Changed fire method to handle to meet Laravel's 5.5 requirements #843

Closed IvanMilanov closed 6 years ago

IvanMilanov commented 7 years ago

When executing the entrust:migration command, an error is thrown on L5.5: Method Zizaco\Entrust\MigrationCommand::handle() does not exist

Changed MigrationCommand's fire() method to handle()

aslamsayyed commented 7 years ago

I think better to keep fire() and call it through handle for backward compatibility.

public function handle() {
  $this->fire();
}
dmason30 commented 6 years ago

Close this already in #840 as a backwards compatible fix.

Zizaco commented 6 years ago

Closed since #840 was merged