Passed
Pull Request — master (#27)
by Robbie
02:35
created
src/PageTypes/DatedUpdateHolderController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         }
160 160
 
161 161
         if (isset($tag)) {
162
-            $tag = (int)$tag;
162
+            $tag = (int) $tag;
163 163
         }
164 164
         if (isset($from)) {
165 165
             $from = urldecode($from);
@@ -174,10 +174,10 @@  discard block
 block discarded – undo
174 174
             $to = $parser->Format('y-MM-dd');
175 175
         }
176 176
         if (isset($year)) {
177
-            $year = (int)$year;
177
+            $year = (int) $year;
178 178
         }
179 179
         if (isset($month)) {
180
-            $month = (int)$month;
180
+            $month = (int) $month;
181 181
         }
182 182
 
183 183
         // If only "To" has been provided filter by single date. Normalise by swapping with "From".
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         $tagID = $this->request->getVar('tag');
260 260
 
261 261
         if (isset($tagID)) {
262
-            return TaxonomyTerm::get_by_id(TaxonomyTerm::class, (int)$tagID);
262
+            return TaxonomyTerm::get_by_id(TaxonomyTerm::class, (int) $tagID);
263 263
         }
264 264
     }
265 265
 
Please login to merge, or discard this patch.