Passed
Push — main ( 6ca2bb...bc39e3 )
by Thierry
05:43
created
app/Ajax/Web/Planning/Subscription/Member.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
             ->getRoundPools()
63 63
             ->keyBy('id')->map(function($pool) {
64 64
                 return $pool->title . ' - ' . ($pool->deposit_fixed ?
65
-                    $this->localeService->formatMoney($pool->amount) :
66
-                    trans('tontine.labels.types.libre'));
65
+                    $this->localeService->formatMoney($pool->amount) : trans('tontine.labels.types.libre'));
67 66
             });
68 67
         $html = $this->renderView('pages.planning.subscription.member.home', [
69 68
             'pool' => $this->pool,
Please login to merge, or discard this patch.
app/Ajax/Web/Planning/Subscription/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         ]);
56 56
         $this->response->html('pool-subscription-sessions', $html);
57 57
         $this->jq('#btn-subscription-sessions-refresh')->click($this->rq()->home());
58
-        if($this->pool->remit_planned)
58
+        if ($this->pool->remit_planned)
59 59
         {
60 60
             $this->jq('#btn-subscription-beneficiaries')
61 61
                 ->click($this->rq(Home::class)->beneficiaries());
Please login to merge, or discard this patch.
app/Ajax/Web/Meeting/Presence/Member.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     protected function getSession()
33 33
     {
34
-        if($this->target()->method() === 'home' ||
34
+        if ($this->target()->method() === 'home' ||
35 35
             ($sessionId = $this->bag('presence')->get('session.id')) === 0)
36 36
         {
37 37
             return;
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         ]);
81 81
         $this->response->html('content-home-members', $html);
82 82
 
83
-        if(!$this->session)
83
+        if (!$this->session)
84 84
         {
85 85
             $this->jq('#btn-presence-exchange')->click($this->rq(Home::class)->exchange());
86 86
         }
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     public function togglePresence(int $memberId)
148 148
     {
149 149
         $member = $this->memberService->getMember($memberId);
150
-        if(!$member)
150
+        if (!$member)
151 151
         {
152 152
             return $this->response;
153 153
         }
Please login to merge, or discard this patch.
app/Ajax/Web/Meeting/Presence/Session.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     protected function getMember()
33 33
     {
34
-        if($this->target()->method() === 'home' ||
34
+        if ($this->target()->method() === 'home' ||
35 35
             ($memberId = $this->bag('presence')->get('member.id')) === 0)
36 36
         {
37 37
             return;
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         ]);
80 80
         $this->response->html('content-home-sessions', $html);
81 81
 
82
-        if(!$this->member)
82
+        if (!$this->member)
83 83
         {
84 84
             $this->jq('#btn-presence-exchange')->click($this->rq(Home::class)->exchange());
85 85
         }
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     public function togglePresence(int $sessionId)
122 122
     {
123 123
         $session = $this->sessionService->getSession($sessionId);
124
-        if(!$session)
124
+        if (!$session)
125 125
         {
126 126
             return $this->response;
127 127
         }
Please login to merge, or discard this patch.
app/Ajax/Web/Meeting/Session.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     public function open(int $sessionId)
73 73
     {
74
-        if(!($session = $this->sessionService->getSession($sessionId)) || $session->opened)
74
+        if (!($session = $this->sessionService->getSession($sessionId)) || $session->opened)
75 75
         {
76 76
             $this->notify->error(trans('tontine.session.errors.opened'), trans('common.titles.error'));
77 77
             return $this->page();
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     public function close(int $sessionId)
86 86
     {
87
-        if(!($session = $this->sessionService->getSession($sessionId)) || !$session->opened)
87
+        if (!($session = $this->sessionService->getSession($sessionId)) || !$session->opened)
88 88
         {
89 89
             $this->notify->error(trans('tontine.session.errors.not_opened'), trans('common.titles.error'));
90 90
             return $this->page();
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     public function resync(int $sessionId)
99 99
     {
100
-        if(!($session = $this->sessionService->getSession($sessionId)) || !$session->opened)
100
+        if (!($session = $this->sessionService->getSession($sessionId)) || !$session->opened)
101 101
         {
102 102
             $this->notify->error(trans('tontine.session.errors.not_opened'), trans('common.titles.error'));
103 103
             return $this->page();
Please login to merge, or discard this patch.