Completed
Pull Request — master (#58)
by Phecho
03:31
created
app/Handlers/Events/Project/SendProjectMomentHandler.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -13,11 +13,7 @@
 block discarded – undo
13 13
 
14 14
 use Illuminate\Foundation\Bus\DispatchesJobs;
15 15
 use Gitamin\Events\Project\ProjectEventInterface;
16
-use Gitamin\Events\Project\ProjectWasAddedEvent;
17
-use Gitamin\Events\Project\ProjectWasUpdatedEvent;
18 16
 use Gitamin\Events\Project\ProjectWasRemovedEvent;
19
-use Gitamin\Handlers\Commands\Moment\AddMomentCommandHandler;
20
-use Gitamin\Commands\Moment\AddMomentCommand;
21 17
 use Gitamin\Models\Project;
22 18
 use Gitamin\Models\Moment;
23 19
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      * @param \Gitamin\Models\Project $project
49 49
      * @param int                     $action
50 50
      *
51
-    */
51
+     */
52 52
     protected function trigger(Project &$project, $action)
53 53
     {
54 54
         $data = [
Please login to merge, or discard this patch.
app/Http/Controllers/Projects/IssuesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Gitamin\Commands\Issue\AddIssueCommand;
15 15
 use Gitamin\Http\Controllers\Controller;
16
-use Gitamin\Models\Issue;
17 16
 use Gitamin\Models\Project;
18 17
 use GrahamCampbell\Binput\Facades\Binput;
19 18
 use Illuminate\Support\Facades\Auth;
Please login to merge, or discard this patch.
app/Commands/Moment/AddMomentCommand.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
      */
42 42
     public $target_id;
43 43
 
44
-     /**
45
-     * The moment action.
46
-     *
47
-     * @var int
48
-     */
44
+        /**
45
+         * The moment action.
46
+         *
47
+         * @var int
48
+         */
49 49
     public $action;
50 50
 
51 51
     /**
Please login to merge, or discard this patch.
app/Models/Project.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -198,11 +198,11 @@
 block discarded – undo
198 198
         return trans('gitamin.projects.status.'.$this->visibility_level);
199 199
     }
200 200
 
201
-     /**
202
-     * Returns project owner path.
203
-     *
204
-     * @return bool
205
-     */
201
+        /**
202
+         * Returns project owner path.
203
+         *
204
+         * @return bool
205
+         */
206 206
     public function getOwnerPathAttribute()
207 207
     {
208 208
 
Please login to merge, or discard this patch.