@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | 'tag.*', |
123 | 123 | 'count(tag.id) as occurs', |
124 | 124 | ]) |
125 | - ->innerJoinWith(['media' => function (Query $q) use ($model) { |
|
125 | + ->innerJoinWith(['media' => function(Query $q) use ($model) { |
|
126 | 126 | $q->andWhere(['media.account_id' => $model->id]); |
127 | 127 | }]) |
128 | 128 | ->groupBy('tag.id'), |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | 'account.*', |
155 | 155 | 'count(account.id) as occurs', |
156 | 156 | ]) |
157 | - ->innerJoinWith(['mediaAccounts.media' => function (Query $q) use ($model) { |
|
157 | + ->innerJoinWith(['mediaAccounts.media' => function(Query $q) use ($model) { |
|
158 | 158 | $q->andWhere(['media.account_id' => $model->id]); |
159 | 159 | }]) |
160 | 160 | ->groupBy('account.id'), |