Passed
Push — master ( 5f2bd1...7c2064 )
by
unknown
13:34
created
www/includes/easyparliament/templates/html/people/index.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         </div>
83 83
 
84 84
       <?php } else {
85
-      $pc_form = ($type == 'mlas' || $type == 'msps' || $type == 'mss');
85
+        $pc_form = ($type == 'mlas' || $type == 'msps' || $type == 'mss');
86 86
 ?>
87 87
 
88 88
         <form action="/<?= $pc_form ? 'postcode' : 'search' ?>/">
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
                           <?= sprintf(gettext('Based on postcode <strong>%s</strong>'), $mp_data['postcode']) ?>
29 29
                           <a href="<?= $mp_data['change_url'] ?>"><?= gettext('(Change postcode)') ?></a>
30 30
                       </p>
31
-                    <?php if ( isset( $mp_data ) && $type != 'mlas' ) { ?>
31
+                    <?php if (isset($mp_data) && $type != 'mlas') { ?>
32 32
                       <h3><?php
33 33
                         if ($mp_data['former']) {
34 34
                             printf(gettext('Your former %s is'), $rep_name);
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
                         </p>
47 47
                     </a>
48 48
                     <?php }
49
-                    if ( isset($reps) ) {
50
-                        if ( isset($mp_data) && $type != 'mlas' ) { ?>
49
+                    if (isset($reps)) {
50
+                        if (isset($mp_data) && $type != 'mlas') { ?>
51 51
                     <div class="people-list__your-mp__replist-header">
52 52
                         <?php } ?>
53 53
                       <h3><?php
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
                         }
67 67
                         ?></h3>
68 68
                     </div>
69
-                        <?php foreach ( $reps as $rep ) { ?>
69
+                        <?php foreach ($reps as $rep) { ?>
70 70
                     <a href="<?= $rep['mp_url'] ?>" class="people-list__person">
71 71
                     <img class="people-list__person__image" src="<?= $rep['image'] ?>">
72 72
                         <h2 class="people-list__person__name"><?= $rep['name'] ?></h2>
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             <div class="search-page__section search-page__section--search">
90 90
                 <div class="search-page__section__primary">
91 91
                     <p class="search-page-main-inputs">
92
-                    <?php if ( $type == 'peers' ) { ?>
92
+                    <?php if ($type == 'peers') { ?>
93 93
                         <label for="find-mp-by-name-or-postcode"><?= sprintf(gettext('Find %s by name:'), $rep_plural) ?></label>
94 94
                     <?php } elseif ($pc_form) { ?>
95 95
                         <label for="find-mp-by-name-or-postcode"><?= sprintf(gettext('Find your %s by postcode:'), $rep_name) ?></label>
@@ -137,12 +137,12 @@  discard block
 block discarded – undo
137 137
             <div class="search-page__section__primary">
138 138
             <h2><?= sprintf(gettext('All %s'), $rep_plural) ?></h2>
139 139
 
140
-                <?php if ( $type != 'peers' ) { ?>
140
+                <?php if ($type != 'peers') { ?>
141 141
                 <ul class="search-result-display-options">
142
-                    <?php if ( $order == 'given_name' ) { ?>
142
+                    <?php if ($order == 'given_name') { ?>
143 143
                     <li><?= gettext('<strong>Sorted by</strong> First name') ?></li>
144 144
                     <li><?= gettext('Sort by') ?> <a href="<?= $urls['by_last'] ?>"><?= gettext('Last name') ?></a> / <a href="<?= $urls['by_party'] ?>"><?= gettext('Party') ?></a></li>
145
-                    <?php } else if ( $order == 'party' ) { ?>
145
+                    <?php } else if ($order == 'party') { ?>
146 146
                     <li><?= gettext('<strong>Sorted by</strong> Party') ?></li>
147 147
                     <li><?= gettext('Sort by') ?> <a href="<?= $urls['by_first'] ?>"><?= gettext('First name') ?></a> / <a href="<?= $urls['by_last'] ?>"><?= gettext('Last name') ?></a></li>
148 148
                     <?php } else { ?>
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 </ul>
153 153
                 <?php } else { ?>
154 154
                 <ul class="search-result-display-options">
155
-                    <?php if ( $order == 'party' ) { ?>
155
+                    <?php if ($order == 'party') { ?>
156 156
                     <li><?= gettext('<strong>Sorted by</strong> Party') ?></li>
157 157
                     <li>Sort by <a href="<?= $urls['by_name'] ?>"><?= gettext('Name') ?></a></li>
158 158
                     <?php } else { ?>
@@ -202,10 +202,10 @@  discard block
 block discarded – undo
202 202
                     }
203 203
                 }
204 204
                 $initial_link = '';
205
-                foreach ( $data as $person ) {
205
+                foreach ($data as $person) {
206 206
                     if ($order != 'party') {
207
-                        $initial = substr( strtoupper($person[$a_to_z_key]), 0, 1);
208
-                        if ( $initial != $current_initial ) {
207
+                        $initial = substr(strtoupper($person[$a_to_z_key]), 0, 1);
208
+                        if ($initial != $current_initial) {
209 209
                             $current_initial = $initial;
210 210
                             $initial_link = "name=\"$initial\" ";
211 211
                         } else {
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                 </noscript>
220 220
                         <h2 class="people-list__person__name"><?= ucfirst($person['name']) ?></h2>
221 221
                         <p class="people-list__person__memberships">
222
-                        <?php if ( $person['constituency'] ) { ?>
222
+                        <?php if ($person['constituency']) { ?>
223 223
                         <span class="people-list__person__constituency"><?= $person['constituency'] ?></span>
224 224
                         <?php } ?>
225 225
                         <span class="people-list__person__party <?= slugify($person['party']) ?>"><?= $person['party'] ?></span>
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
                 <a href="<?= $urls['by_csv'] ?>"><?= gettext('Download this list as a CSV') ?></a>
238 238
                     <?= gettext('suitable for Excel') ?>
239 239
                 </p>
240
-                <?php if ( $type == 'mps' ) { ?>
240
+                <?php if ($type == 'mps') { ?>
241 241
                 <style>
242 242
                 .js #past-list-dates { display: none; }
243 243
                 </style>
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
                     </p>
283 283
                 </form>
284 284
 
285
-                <?php } else if ( $type == 'msps' ) { ?>
285
+                <?php } else if ($type == 'msps') { ?>
286 286
                     <p class="past-list-dates" id="past-list-dates">
287 287
                         <a href="<?= $urls['plain'] ?>?date=2011-05-05">MSPs at 2011 election</a>
288 288
                         <a href="<?= $urls['plain'] ?>?date=2007-05-03">MSPs at 2007 election</a>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/user/view_user.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
                 <div class="row">
10 10
                 <span class="label"><?= gettext('Website') ?></span>
11
-                <span class="formw"><?= $website == '' ? 'none' : '<a rel="nofollow" href="' . _htmlentities($website) . '">'. _htmlentities($website) . '</a>' ?></span>
11
+                <span class="formw"><?= $website == '' ? 'none' : '<a rel="nofollow" href="' . _htmlentities($website) . '">' . _htmlentities($website) . '</a>' ?></span>
12 12
                 </div>
13 13
 
14 14
                 <div class="row">
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/user/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
           <div class="row">
39 39
             <span class="label"><?= gettext('Website') ?></span>
40
-            <span class="formw"><?= $website == '' ? 'none' : '<a rel="nofollow" href="' . _htmlentities($website) . '">'. _htmlentities($website) . '</a>' ?></span>
40
+            <span class="formw"><?= $website == '' ? 'none' : '<a rel="nofollow" href="' . _htmlentities($website) . '">' . _htmlentities($website) . '</a>' ?></span>
41 41
           </div>
42 42
 
43 43
           <?php if ($facebook_user) { ?>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/mp/profile.php 3 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,11 +217,14 @@
 block discarded – undo
217 217
                         <?= $recent_appearances['additional_links'] ?>
218 218
                         <?php endif; ?>
219 219
 
220
-                    <?php else: ?>
220
+                    <?php else {
221
+    : ?>
221 222
 
222 223
                         <p><?=gettext('No recent appearances to display.') ?></p>
223 224
 
224
-                    <?php endif; ?>
225
+                    <?php endif;
226
+}
227
+?>
225 228
 
226 229
                 </div>
227 230
                 <?php endif; ?>
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
                         printf(gettext('Voting information from <a href="%s">Public Whip</a>.'), "https://www.publicwhip.org.uk/mp.php?id=uk.org.publicwhip/member/ $member_id&amp;showall=yes"); ?></p>
280 280
 
281 281
                   <?php if($image && $image['exists']) {
282
-                      if(isset($data['photo_attribution_text'])) { ?>
282
+                        if(isset($data['photo_attribution_text'])) { ?>
283 283
                     <p>
284 284
                       <?php if(isset($data['photo_attribution_link'])) { ?>
285 285
                         <?= gettext('Profile photo:') ?>
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
                       <?php } ?>
290 290
                     </p>
291 291
                   <?php }
292
-                  } else { ?>
292
+                    } else { ?>
293 293
                     <p>
294 294
                         We&rsquo;re missing a photo of <?= $full_name ?>.
295 295
                         If you have a photo <em>that you can release under
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -278,10 +278,10 @@
 block discarded – undo
278 278
                     <p><?php print gettext('This data was produced by TheyWorkForYou from a variety of sources.') . ' ';
279 279
                         printf(gettext('Voting information from <a href="%s">Public Whip</a>.'), "https://www.publicwhip.org.uk/mp.php?id=uk.org.publicwhip/member/ $member_id&amp;showall=yes"); ?></p>
280 280
 
281
-                  <?php if($image && $image['exists']) {
282
-                      if(isset($data['photo_attribution_text'])) { ?>
281
+                  <?php if ($image && $image['exists']) {
282
+                      if (isset($data['photo_attribution_text'])) { ?>
283 283
                     <p>
284
-                      <?php if(isset($data['photo_attribution_link'])) { ?>
284
+                      <?php if (isset($data['photo_attribution_link'])) { ?>
285 285
                         <?= gettext('Profile photo:') ?>
286 286
                         <a href="<?= $data['photo_attribution_link'] ?>"><?= $data['photo_attribution_text'] ?></a>
287 287
                       <?php } else { ?>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/mp/_vote_footer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 
4 4
     <p><?= gettext('For an explanation of the vote descriptions please see our page about <a href="/voting-information">voting information on TheyWorkForYou</a>.') ?></p>
5 5
 
6
-  <?php if(isset($data['photo_attribution_text'])) { ?>
6
+  <?php if (isset($data['photo_attribution_text'])) { ?>
7 7
     <p>
8
-      <?php if(isset($data['photo_attribution_link'])) { ?>
8
+      <?php if (isset($data['photo_attribution_link'])) { ?>
9 9
         <?= gettext('Profile photo:') ?>
10 10
         <a href="<?= $data['photo_attribution_link'] ?>"><?= $data['photo_attribution_text'] ?></a>
11 11
       <?php } else { ?>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/divisions/_vote_summary.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <p>
2 2
     <a href="#for"><?= sprintf(gettext('%s for'), $division['for']) ?></a>,
3 3
     <a href="#against"><?= sprintf(gettext('%s against'), $division['against']) ?></a><?php
4
-  if ($division['both'] > 0) { ?>,
4
+    if ($division['both'] > 0) { ?>,
5 5
     <a href="#both"><?= sprintf(gettext('%s abstained'), $division['both']) ?></a><?php
6
-  }
7
-  if ($division['absent'] > 0) { ?>,
6
+    }
7
+    if ($division['absent'] > 0) { ?>,
8 8
     <a href="#absent"><?= sprintf(gettext('%s absent'), $division['absent']) ?></a><?php
9
-  } ?>.
9
+    } ?>.
10 10
 </p>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/divisions/_name_vote_list.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!function_exists('print_voter')) {
4
-  function print_voter($vote){
4
+  function print_voter($vote) {
5 5
     echo sprintf(
6 6
       '<li><a href="/mp/?p=%d">%s</a> <span class="party">%s%s</span></li>',
7 7
       $vote['person_id'],
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     <?php if (count($tellers) > 0) { ?>
29 29
       <h4><?= gettext('Tellers') ?></h4>
30 30
       <ul class="division-names">
31
-        <?php foreach($tellers as $teller) {
31
+        <?php foreach ($tellers as $teller) {
32 32
           print_voter($teller);
33 33
         } ?>
34 34
       </p>
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!function_exists('print_voter')) {
4
-  function print_voter($vote){
4
+    function print_voter($vote){
5 5
     echo sprintf(
6
-      '<li><a href="/mp/?p=%d">%s</a> <span class="party">%s%s</span></li>',
7
-      $vote['person_id'],
8
-      $vote['name'],
9
-      gettext($vote['party']),
10
-      $vote['proxy'] ? " (proxy vote cast by $vote[proxy])" : ''
6
+        '<li><a href="/mp/?p=%d">%s</a> <span class="party">%s%s</span></li>',
7
+        $vote['person_id'],
8
+        $vote['name'],
9
+        gettext($vote['party']),
10
+        $vote['proxy'] ? " (proxy vote cast by $vote[proxy])" : ''
11 11
     );
12
-  }
12
+    }
13 13
 }
14 14
 
15 15
 if (count($votes) > 0) { ?>
@@ -18,18 +18,18 @@  discard block
 block discarded – undo
18 18
       <?php $tellers = array(); ?>
19 19
       <ul class="division-names js-vote-accordion" data-show-all="<?= gettext('Show All') ?>">
20 20
         <?php foreach ($votes as $vote) {
21
-          if ($vote['teller']) {
22
-              $tellers[] = $vote;
23
-          } else {
21
+            if ($vote['teller']) {
22
+                $tellers[] = $vote;
23
+            } else {
24 24
             print_voter($vote);
25
-          }
25
+            }
26 26
         } ?>
27 27
       </ul>
28 28
     <?php if (count($tellers) > 0) { ?>
29 29
       <h4><?= gettext('Tellers') ?></h4>
30 30
       <ul class="division-names">
31 31
         <?php foreach($tellers as $teller) {
32
-          print_voter($teller);
32
+            print_voter($teller);
33 33
         } ?>
34 34
       </p>
35 35
     <?php } ?>
Please login to merge, or discard this patch.
classes/AlertView/Standard.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
                 try {
181 181
                     $MEMBER = new \MEMBER(array('constituency'=>$constituency, 'house' => 1));
182 182
                     $cons[$constituency] = $MEMBER;
183
-                } catch ( \MySociety\TheyWorkForYou\MemberException $e ) {
183
+                } catch (\MySociety\TheyWorkForYou\MemberException $e) {
184 184
                     // do nothing
185 185
                 }
186 186
             }
@@ -200,17 +200,17 @@  discard block
 block discarded – undo
200 200
 
201 201
         // If this goes well, the alert will be added to the database and a confirmation email
202 202
         // will be sent to them.
203
-        $success = $this->alert->add( $this->data, $confirm );
203
+        $success = $this->alert->add($this->data, $confirm);
204 204
 
205
-        if ($success>0 && !$confirm) {
205
+        if ($success > 0 && !$confirm) {
206 206
             $result = 'alert-added';
207
-        } elseif ($success>0) {
207
+        } elseif ($success > 0) {
208 208
             $result = 'alert-confirmation';
209 209
         } elseif ($success == -2) {
210 210
             // we need to make sure we know that the person attempting to sign up
211 211
             // for the alert has that email address to stop people trying to work
212 212
             // out what alerts they are signed up to
213
-            if ( $this->data['email_verified'] || ( $this->user->loggedin && $this->user->email() == $this->data['email'] ) ) {
213
+            if ($this->data['email_verified'] || ($this->user->loggedin && $this->user->email() == $this->data['email'])) {
214 214
                 $result = 'alert-exists';
215 215
             } else {
216 216
                 // don't throw an error message as that implies that they have already signed
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
 
236 236
 
237 237
     private function formatSearchTerms() {
238
-        if ( $this->data['alertsearch'] ) {
238
+        if ($this->data['alertsearch']) {
239 239
             $this->data['alertsearch_pretty'] = \MySociety\TheyWorkForYou\Utility\Alert::prettifyCriteria($this->data['alertsearch']);
240 240
             $this->data['search_text'] = $this->data['alertsearch'];
241 241
         } else {
@@ -262,11 +262,11 @@  discard block
 block discarded – undo
262 262
     }
263 263
 
264 264
     private function formatSearchMemberData() {
265
-        if ( isset($this->data['postcode']) ) {
265
+        if (isset($this->data['postcode'])) {
266 266
             try {
267 267
                 $postcode = $this->data['postcode'];
268 268
 
269
-                $MEMBER = new \MEMBER( array('postcode' => $postcode) );
269
+                $MEMBER = new \MEMBER(array('postcode' => $postcode));
270 270
                 // move the postcode to the front just to be tidy
271 271
                 $tidy_alertsearch = $postcode . " " . trim(str_replace("$postcode", "", $this->data['alertsearch']));
272 272
                 $alertsearch_display = str_replace("$postcode ", "", $tidy_alertsearch);
@@ -275,29 +275,29 @@  discard block
 block discarded – undo
275 275
                 $this->data['member_displaysearch'] = $alertsearch_display;
276 276
                 $this->data['member'] = $MEMBER;
277 277
 
278
-                if ( isset($this->data['mistakes']['postcode_and']) ) {
278
+                if (isset($this->data['mistakes']['postcode_and'])) {
279 279
                     $constituencies = \MySociety\TheyWorkForYou\Utility\Postcode::postcodeToConstituencies($postcode);
280
-                    if ( isset($constituencies['SPC']) ) {
280
+                    if (isset($constituencies['SPC'])) {
281 281
                         $MEMBER = new \MEMBER(array('constituency' => $constituencies['SPC'], 'house' => HOUSE_TYPE_SCOTLAND));
282 282
                         $this->data['scottish_alertsearch'] = str_replace("$postcode", "speaker:" . $MEMBER->person_id, $tidy_alertsearch);
283 283
                         $this->data['scottish_member'] = $MEMBER;
284
-                    } elseif ( isset($constituencies['WAC']) ) {
284
+                    } elseif (isset($constituencies['WAC'])) {
285 285
                         $MEMBER = new \MEMBER(array('constituency' => $constituencies['WAC'], 'house' => HOUSE_TYPE_WALES));
286 286
                         $this->data['welsh_alertsearch'] = str_replace("$postcode", "speaker:" . $MEMBER->person_id, $tidy_alertsearch);
287 287
                         $this->data['welsh_member'] = $MEMBER;
288 288
                     }
289 289
                 }
290
-            } catch ( \MySociety\TheyWorkForYou\MemberException $e ) {
290
+            } catch (\MySociety\TheyWorkForYou\MemberException $e) {
291 291
                 $this->data['member_error'] = 1;
292 292
             }
293 293
         }
294 294
 
295
-        if ( $this->data['pid'] ) {
296
-            $MEMBER = new \MEMBER( array('person_id' => $this->data['pid']) );
295
+        if ($this->data['pid']) {
296
+            $MEMBER = new \MEMBER(array('person_id' => $this->data['pid']));
297 297
             $this->data['pid_member'] = $MEMBER;
298 298
         }
299 299
 
300
-        if ( $this->data['keyword'] ) {
300
+        if ($this->data['keyword']) {
301 301
             $this->data['display_keyword'] = \MySociety\TheyWorkForYou\Utility\Alert::prettifyCriteria($this->data['keyword']);
302 302
         }
303 303
     }
Please login to merge, or discard this patch.
classes/SectionView/SeneddView.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     protected function getSearchSections() {
42 42
         return array(
43
-            array( 'section' => 'wales' )
43
+            array('section' => 'wales')
44 44
         );
45 45
     }
46 46
 
@@ -59,23 +59,23 @@  discard block
 block discarded – undo
59 59
 
60 60
         $debates = $DEBATELIST->display('recent_debates', array('days' => 30, 'num' => 6), 'none');
61 61
         $MOREURL = new \MySociety\TheyWorkForYou\Url('senedddebatesfront');
62
-        $MOREURL->insert( array( 'more' => 1 ) );
62
+        $MOREURL->insert(array('more' => 1));
63 63
 
64 64
         // this makes sure that we don't repeat this debate in the list below
65 65
         $random_debate = null;
66
-        if ( isset($debates['data']) && count($debates['data']) ) {
66
+        if (isset($debates['data']) && count($debates['data'])) {
67 67
             $random_debate = $debates['data'][0];
68 68
         }
69 69
 
70 70
         $recent = array();
71
-        if ( isset($debates['data']) && count($debates['data']) ) {
71
+        if (isset($debates['data']) && count($debates['data'])) {
72 72
             // at the start of a session there may be less than 6
73 73
             // debates
74 74
             $max = 6;
75
-            if ( count($debates['data']) < 6 ) {
75
+            if (count($debates['data']) < 6) {
76 76
                 $max = count($debates['data']);
77 77
             }
78
-            for ( $i = 1; $i < $max; $i++ ) {
78
+            for ($i = 1; $i < $max; $i++) {
79 79
                 $debate = $debates['data'][$i];
80 80
                 $debate['desc'] = "Senedd";
81 81
                 $debate['more_url'] = $MOREURL->generate();
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         }
85 85
 
86 86
         $featured = array();
87
-        if ( $random_debate ) {
87
+        if ($random_debate) {
88 88
             $featured = $random_debate;
89 89
             $featured['more_url'] = $MOREURL->generate();
90 90
             $featured['desc'] = 'Senedd';
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         }
94 94
 
95 95
         $data['featured'] = $featured;
96
-        $data['debates'] = array( 'recent' => $recent);
96
+        $data['debates'] = array('recent' => $recent);
97 97
 
98 98
         $data['regional'] = $this->getMSList();
99 99
         $data['template'] = 'senedd/index';
Please login to merge, or discard this patch.