Passed
Push — main ( 685fb4...eb4dcb )
by Thierry
05:36
created
app/Ajax/Web/Report/Session/Session.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,8 +137,7 @@
 block discarded – undo
137 137
         // Show the profits only if they were saved on this session.
138 138
         $profitSessionId = $session->round->properties['profit']['session'] ?? 0;
139 139
         $profitAmount = $session->round->properties['profit']['amount'] ?? 0;
140
-        $html = $profitSessionId !== $session->id ? '' :
141
-            $this->view()->render('tontine.pages.report.session.session.profits', [
140
+        $html = $profitSessionId !== $session->id ? '' : $this->view()->render('tontine.pages.report.session.session.profits', [
142 141
                 'fundings' => $this->profitService->getDistributions($session, $profitAmount),
143 142
                 'profitAmount' => $profitAmount,
144 143
             ]);
Please login to merge, or discard this patch.