Passed
Push — master ( bce844...1d068a )
by Struan
05:32
created
www/includes/easyparliament/templates/html/section/_section_content.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
             $body = preg_replace('# (S\d[O0WF]-\d+)[, ]#', ' <a href="/spwrans/?spid=$1">$1</a> ', $body);
16 16
             $body = preg_replace_callback(
17 17
                 '#<citation id="uk\.org\.publicwhip/(.*?)/(.*?)">\[(.*?)\]</citation>#',
18
-                function ($matches) {
18
+                function($matches) {
19 19
                     if ($matches[1] == 'spor') {
20 20
                         $href_segment = 'sp/?g';
21 21
                     } elseif ($matches[1] == 'spwa') {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
                 <?php } ?>
194 194
 
195 195
               <?php if (isset($speech['mp_vote'])) {
196
-                  $mp_vote = [ 'vote' => $speech['mp_vote']['vote'] ];
196
+                  $mp_vote = ['vote' => $speech['mp_vote']['vote']];
197 197
                   if (isset($speech['before_mp'])) {
198 198
                       $before_mp = $speech['before_mp'];
199 199
                   }
Please login to merge, or discard this patch.