@@ -159,7 +159,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |