Completed
Push — master ( efb981...ed6913 )
by Patrick
01:46
created
api/v1/class.ParticipantAPI.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     protected function canUpdate($request, $entity)
34 34
     {
35
- 	if($this->isVolunteerAdmin($request))
35
+        if($this->isVolunteerAdmin($request))
36 36
         {
37 37
             return true;
38 38
         }       
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $odata = $request->getAttribute('odata', new \ODataParams(array()));
90 90
         $filter = $this->getFilterForPrimaryKey($uid);
91 91
         $areas = $dataTable->read($filter, $odata->select, $odata->top,
92
-                                  $odata->skip, $odata->orderby);
92
+                                    $odata->skip, $odata->orderby);
93 93
         if(empty($areas))
94 94
         {
95 95
             return $response->withStatus(404);
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
         $odata = $request->getAttribute('odata', new \ODataParams(array()));
161 161
         $filter = $this->getFilterForPrimaryKey($uid);
162 162
         $areas = $dataTable->read($filter, array('certs'), $odata->top,
163
-                                  $odata->skip, $odata->orderby);
163
+                                    $odata->skip, $odata->orderby);
164 164
         if(empty($areas))
165 165
         {
166 166
             return $response->withStatus(404);
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         $user = $users[0];
195 195
         if(!isset($user['certs']))
196 196
         {
197
-             $user['certs'] = array();
197
+                $user['certs'] = array();
198 198
         }
199 199
         $files = $request->getUploadedFiles();
200 200
         $file = $files['file'];
Please login to merge, or discard this patch.
app/Emails/class.CertificationEmail.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@
 block discarded – undo
48 48
         $certType = $this->additionalProps['certType'];
49 49
         $rejectReason = $this->additionalProps['reason'];
50 50
         $vars = array(
51
-          '{$firstName}' => $firstName,
52
-          '{$lastName}' => $lastName,
53
-          '{$paperName}' => $paperName,
54
-          '{$webName}' => $webName,
55
-          '{$certType}' => $certType,
56
-          '{$rejectReason}' => $rejectReason
51
+            '{$firstName}' => $firstName,
52
+            '{$lastName}' => $lastName,
53
+            '{$paperName}' => $paperName,
54
+            '{$webName}' => $webName,
55
+            '{$certType}' => $certType,
56
+            '{$rejectReason}' => $rejectReason
57 57
         );
58 58
         if($html === true)
59 59
         {
Please login to merge, or discard this patch.