Passed
Push — main ( a1da84...1f5895 )
by Thierry
15:21
created
app/Ajax/Web/Meeting/Payment.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $this->response->html('payment-members-page', $html);
70 70
 
71 71
         // Don't show the payable items if there is no opened session or no member.
72
-        if($this->sessions->count() === 0 || $this->memberService->getMemberCount('') === 0)
72
+        if ($this->sessions->count() === 0 || $this->memberService->getMemberCount('') === 0)
73 73
         {
74 74
             return $this->response;
75 75
         }
@@ -82,15 +82,15 @@  discard block
 block discarded – undo
82 82
 
83 83
     public function payables(int $memberId, int $sessionId)
84 84
     {
85
-        if(!($member = $this->memberService->getMember($memberId)))
85
+        if (!($member = $this->memberService->getMember($memberId)))
86 86
         {
87 87
             return $this->response;
88 88
         }
89
-        if(!($session = $this->sessionService->getSession($sessionId)))
89
+        if (!($session = $this->sessionService->getSession($sessionId)))
90 90
         {
91 91
             return $this->response;
92 92
         }
93
-        if(!$session->opened)
93
+        if (!$session->opened)
94 94
         {
95 95
             return $this->response;
96 96
         }
Please login to merge, or discard this patch.