@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $enabledLangs = Config::get('langs'); |
31 | 31 | |
32 | - $langs = array_map(function ($lang) use ($enabledLangs) { |
|
32 | + $langs = array_map(function($lang) use ($enabledLangs) { |
|
33 | 33 | $locale = basename($lang); |
34 | 34 | |
35 | 35 | return [$locale => $enabledLangs[$locale]]; |
@@ -83,7 +83,7 @@ |
||
83 | 83 | 'notify' => $command->notify, |
84 | 84 | ]; |
85 | 85 | |
86 | - return array_filter($params, function ($val) { |
|
86 | + return array_filter($params, function($val) { |
|
87 | 87 | return $val !== null; |
88 | 88 | }); |
89 | 89 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | 'team_id' => $command->team_id, |
53 | 53 | ]; |
54 | 54 | |
55 | - return array_filter($params, function ($val) { |
|
55 | + return array_filter($params, function($val) { |
|
56 | 56 | return $val !== null; |
57 | 57 | }); |
58 | 58 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | 'team_id' => $command->team_id, |
55 | 55 | ]; |
56 | 56 | |
57 | - return array_filter($params, function ($val) { |
|
57 | + return array_filter($params, function($val) { |
|
58 | 58 | return $val !== null; |
59 | 59 | }); |
60 | 60 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | event(new ProjectTeamWasRemovedEvent($team)); |
31 | 31 | |
32 | 32 | // Remove the team id from all project. |
33 | - $team->projects->map(function ($project) { |
|
33 | + $team->projects->map(function($project) { |
|
34 | 34 | $project->update(['team_id' => 0]); |
35 | 35 | }); |
36 | 36 |
@@ -81,7 +81,7 @@ |
||
81 | 81 | $this->mailer->queue([ |
82 | 82 | 'html' => 'emails.issues.new-html', |
83 | 83 | 'text' => 'emails.issues.new-text', |
84 | - ], $mail, function (Message $message) use ($mail) { |
|
84 | + ], $mail, function(Message $message) use ($mail) { |
|
85 | 85 | $message->to($mail['email'])->subject($mail['subject']); |
86 | 86 | }); |
87 | 87 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $this->mailer->queue([ |
55 | 55 | 'html' => 'emails.subscribers.verify-html', |
56 | 56 | 'text' => 'emails.subscribers.verify-text', |
57 | - ], $mail, function (Message $message) use ($mail) { |
|
57 | + ], $mail, function(Message $message) use ($mail) { |
|
58 | 58 | $message->to($mail['email'])->subject($mail['subject']); |
59 | 59 | }); |
60 | 60 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $this->mailer->queue([ |
55 | 55 | 'html' => 'emails.users.invite-html', |
56 | 56 | 'text' => 'emails.users.invite-text', |
57 | - ], $mail, function (Message $message) use ($mail) { |
|
57 | + ], $mail, function(Message $message) use ($mail) { |
|
58 | 58 | $message->to($mail['email'])->subject($mail['subject']); |
59 | 59 | }); |
60 | 60 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | $tags = preg_split('/ ?, ?/', Binput::get('tags')); |
85 | 85 | |
86 | 86 | // For every tag, do we need to create it? |
87 | - $projectTags = array_map(function ($taggable) use ($project) { |
|
87 | + $projectTags = array_map(function($taggable) use ($project) { |
|
88 | 88 | return Tag::firstOrCreate([ |
89 | 89 | 'name' => $taggable, |
90 | 90 | ])->id; |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | $tags = preg_split('/ ?, ?/', Binput::get('tags')); |
125 | 125 | |
126 | 126 | // For every tag, do we need to create it? |
127 | - $projectTags = array_map(function ($taggable) use ($project) { |
|
127 | + $projectTags = array_map(function($taggable) use ($project) { |
|
128 | 128 | return Tag::firstOrCreate(['name' => $taggable])->id; |
129 | 129 | }, $tags); |
130 | 130 |