Skip to content

Commit

Permalink
EZP-24379: Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed May 29, 2015
1 parent 334093f commit 220f6b2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Controller/ContentTypeController.php
Expand Up @@ -116,10 +116,14 @@ public function viewContentTypeAction( $contentTypeId, $languageCode = null )
'language_code' => $languageCode,
'content_type' => $contentType,
'content_count' => $this->searchService->findContent(
new Query([
'filter' => new Query\Criterion\ContentTypeId($contentTypeId),
'limit' => 0,
]), [], false)->totalCount,
new Query(
[
'filter' => new Query\Criterion\ContentTypeId( $contentTypeId ),
'limit' => 0,
]
),
[], false
)->totalCount,
]
);
}
Expand Down

0 comments on commit 220f6b2

Please sign in to comment.