@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal\Http\Controllers; |
4 | 4 | |
5 | -use Illuminate\Support\Str; |
|
5 | +use Illuminate\Contracts\Routing\ResponseFactory; |
|
6 | +use Illuminate\Filesystem\Filesystem; |
|
6 | 7 | use Illuminate\Http\Request; |
7 | -use Recca0120\Terminal\Kernel; |
|
8 | 8 | use Illuminate\Routing\Controller; |
9 | -use Illuminate\Filesystem\Filesystem; |
|
10 | -use Illuminate\Contracts\Routing\ResponseFactory; |
|
9 | +use Illuminate\Support\Str; |
|
10 | +use Recca0120\Terminal\Kernel; |
|
11 | 11 | |
12 | 12 | class TerminalController extends Controller |
13 | 13 | { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | /** |
103 | 103 | * Get all of the commands registered with the console. |
104 | 104 | * |
105 | - * @return array |
|
105 | + * @return \Symfony\Component\Console\Command\Command[] |
|
106 | 106 | */ |
107 | 107 | public function all() |
108 | 108 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal; |
4 | 4 | |
5 | +use Illuminate\Contracts\Console\Kernel as KernelContract; |
|
5 | 6 | use Illuminate\Support\Arr; |
6 | 7 | use Recca0120\Terminal\Application as Artisan; |
7 | -use Illuminate\Contracts\Console\Kernel as KernelContract; |
|
8 | 8 | |
9 | 9 | class Kernel implements KernelContract |
10 | 10 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal; |
4 | 4 | |
5 | +use Illuminate\Console\Application as ConsoleApplication; |
|
5 | 6 | use Illuminate\Http\Request; |
6 | -use Symfony\Component\Console\Input\StringInput; |
|
7 | 7 | use Recca0120\Terminal\Contracts\TerminalCommand; |
8 | -use Symfony\Component\Console\Output\BufferedOutput; |
|
9 | 8 | use Symfony\Component\Console\Formatter\OutputFormatter; |
10 | -use Illuminate\Console\Application as ConsoleApplication; |
|
9 | +use Symfony\Component\Console\Input\StringInput; |
|
10 | +use Symfony\Component\Console\Output\BufferedOutput; |
|
11 | 11 | |
12 | 12 | class Application extends ConsoleApplication |
13 | 13 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
4 | 4 | |
5 | -use Phar; |
|
6 | 5 | use Illuminate\Filesystem\Filesystem; |
6 | +use Phar; |
|
7 | 7 | use Symfony\Component\Console\Input\InputOption; |
8 | 8 | use Symfony\Component\Console\Input\StringInput; |
9 | 9 |