Completed
Pull Request — master (#24)
by Phecho
03:20
created
app/Http/Controllers/Projects/IssuesController.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,6 @@
 block discarded – undo
78 78
     /**
79 79
      * Display the specified resource.
80 80
      *
81
-     * @param  int  $id
82 81
      * @return \Illuminate\Http\Response
83 82
      */
84 83
     public function show($namespace, $project, Issue $issue)
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -3,19 +3,12 @@
 block discarded – undo
3 3
 namespace Gitamin\Http\Controllers\Projects;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use Illuminate\Foundation\Bus\DispatchesJobs;
7 6
 use Illuminate\Support\Facades\Redirect;
8 7
 use Illuminate\Support\Facades\Auth;
9 8
 use Illuminate\Support\Facades\View;
10 9
 use Gitamin\Http\Controllers\Controller;
11 10
 use GrahamCampbell\Binput\Facades\Binput;
12 11
 use Gitamin\Commands\Issue\AddIssueCommand;
13
-use Gitamin\Commands\Issue\RemoveIssueCommand;
14
-use Gitamin\Commands\Issue\UpdateIssueCommand;
15
-use Gitamin\Models\Project;
16
-use Gitamin\Models\ProjectNamespace;
17
-use Gitamin\Models\Group;
18
-use Gitamin\Models\Tag;
19 12
 use Gitamin\Models\Issue;
20 13
 
21 14
 class IssuesController extends Controller
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $project = $this->getProject($namespace, $project_path);
60 60
         $issueData = Binput::get('issue');
61 61
 
62
-         try {
62
+            try {
63 63
             $issueData['author_id'] = Auth::user()->id;
64 64
             $issueData['project_id'] = $project->id;
65 65
             $issue = $this->dispatchFromArray(AddIssueCommand::class, $issueData);
Please login to merge, or discard this patch.