Passed
Push — develop ( 36032a...5f1efb )
by Johnny
02:18
created
src/Cortex/ResponseQueue/ResponseQueue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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':
Please login to merge, or discard this patch.
src/Cortex/Tags/Sentence.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
                     }
Please login to merge, or discard this patch.