@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | } |
161 | 161 | |
162 | 162 | if (isset($tag)) { |
163 | - $tag = (int)$tag; |
|
163 | + $tag = (int) $tag; |
|
164 | 164 | } |
165 | 165 | try { |
166 | 166 | if (isset($from)) { |
@@ -184,10 +184,10 @@ discard block |
||
184 | 184 | } |
185 | 185 | } |
186 | 186 | if (isset($year)) { |
187 | - $year = (int)$year; |
|
187 | + $year = (int) $year; |
|
188 | 188 | } |
189 | 189 | if (isset($month)) { |
190 | - $month = (int)$month; |
|
190 | + $month = (int) $month; |
|
191 | 191 | } |
192 | 192 | |
193 | 193 | // If only "To" has been provided filter by single date. Normalise by swapping with "From". |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | $tagID = $this->request->getVar('tag'); |
271 | 271 | |
272 | 272 | if (isset($tagID)) { |
273 | - return TaxonomyTerm::get_by_id(TaxonomyTerm::class, (int)$tagID); |
|
273 | + return TaxonomyTerm::get_by_id(TaxonomyTerm::class, (int) $tagID); |
|
274 | 274 | } |
275 | 275 | } |
276 | 276 |