@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * Store a newly created resource in storage. |
| 36 | 36 | * |
| 37 | 37 | * @param \Illuminate\Http\Request $request |
| 38 | - * @return \Illuminate\Http\Response |
|
| 38 | + * @return \Illuminate\Http\RedirectResponse |
|
| 39 | 39 | */ |
| 40 | 40 | public function store(Request $request) |
| 41 | 41 | { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * Remove the specified resource from storage. |
| 86 | 86 | * |
| 87 | 87 | * @param int $id |
| 88 | - * @return \Illuminate\Http\Response |
|
| 88 | + * @return \Illuminate\Http\RedirectResponse |
|
| 89 | 89 | */ |
| 90 | 90 | public function destroy($id) |
| 91 | 91 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Tasks; |
| 6 | 6 | use Illuminate\Http\Request; |
| 7 | - |
|
| 8 | 7 | use App\Http\Requests; |
| 9 | 8 | use App\Http\Controllers\Controller; |
| 10 | 9 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * |
| 13 | 13 | * @var array |
| 14 | 14 | */ |
| 15 | - protected $commands = [ ]; |
|
| 15 | + protected $commands = []; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Define the application's command schedule. |