@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | ->type('default') |
| 23 | 23 | ->valid(true); |
| 24 | 24 | |
| 25 | - $projects = array_filter($projects, function ($value) use ($config) { |
|
| 25 | + $projects = array_filter($projects, function($value) use ($config) { |
|
| 26 | 26 | return isset($value[$config->get('workflow', 'primary_service') . '_id']); |
| 27 | 27 | }); |
| 28 | 28 | } elseif (substr($query, 0, 10) === 'start_all ') { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | foreach ($projects as $name => $ids) { |
| 39 | - $subtitle = 'Project available for ' . implode(' and ', array_map(function ($value) { |
|
| 39 | + $subtitle = 'Project available for ' . implode(' and ', array_map(function($value) { |
|
| 40 | 40 | return substr(ucfirst($value), 0, -3); |
| 41 | 41 | }, array_keys($ids))); |
| 42 | 42 | |
@@ -22,8 +22,8 @@ discard block |
||
| 22 | 22 | ->type('default') |
| 23 | 23 | ->valid(true); |
| 24 | 24 | |
| 25 | - $tags = array_filter($tags, function ($value) use ($config) { |
|
| 26 | - return isset($value[$config->get('workflow', 'primary_service') .'_id']); |
|
| 25 | + $tags = array_filter($tags, function($value) use ($config) { |
|
| 26 | + return isset($value[$config->get('workflow', 'primary_service') . '_id']); |
|
| 27 | 27 | }); |
| 28 | 28 | } elseif (substr($query, 0, 10) === 'start_all ') { |
| 29 | 29 | $activatedServices = $config->activatedServices(); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | foreach ($tags as $name => $ids) { |
| 39 | - $subtitle = 'Tag available for ' . implode(' and ', array_map(function ($value) { |
|
| 39 | + $subtitle = 'Tag available for ' . implode(' and ', array_map(function($value) { |
|
| 40 | 40 | return substr(ucfirst($value), 0, -3); |
| 41 | 41 | }, array_keys($ids))); |
| 42 | 42 | |