@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | private function sortResponses(Collection $responses): Collection |
| 64 | 64 | { |
| 65 | 65 | return $responses->sort( |
| 66 | - function ($current, $previous) { |
|
| 66 | + function($current, $previous) { |
|
| 67 | 67 | return ($current->order < $previous->order) ? -1 : 1; |
| 68 | 68 | } |
| 69 | 69 | )->reverse(); |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | private function determineResponseOrder(Collection $responses): Collection |
| 108 | 108 | { |
| 109 | 109 | return $responses->each( |
| 110 | - function (ResponseQueueItem $data, $response) use ($responses) { |
|
| 110 | + function(ResponseQueueItem $data, $response) use ($responses) { |
|
| 111 | 111 | if (isset($data->type)) { |
| 112 | 112 | switch ($data->type) { |
| 113 | 113 | case 'condition': |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | if (strpos($sub, '.') > -1) { |
| 61 | 61 | $parts = explode('.', $sub); |
| 62 | 62 | if (count($parts) !== 0) { |
| 63 | - array_walk($parts, function (&$part) { |
|
| 63 | + array_walk($parts, function(&$part) { |
|
| 64 | 64 | $part = ucfirst(trim($part)); |
| 65 | 65 | }); |
| 66 | 66 | } |