Completed
Push — master ( 635bed...988e80 )
by Phecho
03:22
created
app/Commands/ProjectNamespace/UpdateProjectNamespaceCommand.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -52,10 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Create a add project team command instance.
54 54
      *
55
-     * @param \Gitamin\Models\ProjectTeam $team
56 55
      * @param string                      $name
57
-     * @param string                      $slug
58
-     * @param int                         $order
59 56
      *
60 57
      * @return void
61 58
      */
Please login to merge, or discard this patch.
Handlers/Commands/ProjectNamespace/RemoveProjectNamespaceCommandHandler.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * Handle the remove project team command.
21 21
      *
22
-     * @param \Gitamin\Commands\ProjectTeam\RemoveProjectTeamCommand $command
22
+     * @param RemoveProjectNamespaceCommand $command
23 23
      *
24 24
      * @return void
25 25
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Gitamin\Handlers\Commands\ProjectNamespace;
13 13
 
14 14
 use Gitamin\Commands\ProjectNamespace\RemoveProjectNamespaceCommand;
15
-use Gitamin\Events\ProjectNamespace\ProjectNamespaceWasRemovedEvent;
16 15
 
17 16
 class RemoveProjectNamespaceCommandHandler
18 17
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         event(new ProjectTeamWasRemovedEvent($team));
31 31
 
32 32
         // Remove the namespace id from all project.
33
-        $group->projects->map(function ($project) {
33
+        $group->projects->map(function($project) {
34 34
             $project->update(['namespace_id' => 0]);
35 35
         });
36 36
 
Please login to merge, or discard this patch.