Skip to content

Commit dc84efb

Browse files
authored
[5.4] Code style (joomla#45853)
Remove extra spaces Signed-off-by: BrianTeeman <[email protected]>
1 parent 4e7dbf6 commit dc84efb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/com_content/src/Model/ArchiveModel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ public function getData()
155155
*/
156156
public function getYears()
157157
{
158-
$db = $this->getDatabase();
159-
$nowDate = Factory::getDate()->toSql();
160-
$query = $db->getQuery(true);
161-
$queryDate = QueryHelper::getQueryDate($this->state->params->get('order_date'), $db);
162-
$years = $query->year($queryDate);
163-
$yearSort = $this->state->params->get('year_sort_order', 'ASC');
158+
$db = $this->getDatabase();
159+
$nowDate = Factory::getDate()->toSql();
160+
$query = $db->getQuery(true);
161+
$queryDate = QueryHelper::getQueryDate($this->state->params->get('order_date'), $db);
162+
$years = $query->year($queryDate);
163+
$yearSort = $this->state->params->get('year_sort_order', 'ASC');
164164

165165
$query->select('DISTINCT ' . $years)
166166
->from($db->quoteName('#__content', 'a'))

0 commit comments

Comments
 (0)