Closed semsphy closed 7 years ago
I can provide a really simple hotfix! https://github.com/typoworx-de/lumen-generator/tree/hotfix-issue-18
We just need an Abstract Class providing a shorthand to all Command-Classes and replace "extends Command" with "AbstractCommand". For a ready-patched version look at my fork.
Please approve and merge into this project.
<?php
namespace Flipbox\LumenGenerator\Console;
use Illuminate\Console\Command;
class AbstractCommand extends Command
{
/**
* Shorthand for Laravel 5.5.*
* https://github.com/flipboxstudio/lumen-generator/issues/18
*
* @return mixed
*/
public function handle()
{
$this->fire();
}
}
Possible duplicate with this PR? : https://github.com/flipboxstudio/lumen-generator/pull/17
Fixed by PR #17
I got reception in latest version of Lumen (5.5.0) (Laravel Components 5.5.*).