Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 10, 2020
1 parent 289cc0b commit 2e507a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -153,7 +153,7 @@ public function generateArticleForPage(DataContainer $dc): void

// Check whether there are articles (e.g. on copied pages)
$total = $this->connection->executeQuery(
'SELECT COUNT(*) AS count FROM tl_article WHERE pid=:pid',
'SELECT COUNT(*) FROM tl_article WHERE pid=:pid',
['pid' => $dc->id]
)->fetchColumn();

Expand Down
Expand Up @@ -1087,7 +1087,7 @@ private function expectArticleCount(int $count): void
$this->connection
->expects($this->once())
->method('executeQuery')
->with('SELECT COUNT(*) AS count FROM tl_article WHERE pid=:pid')
->with('SELECT COUNT(*) FROM tl_article WHERE pid=:pid')
->willReturn($statement)
;
}
Expand Down

0 comments on commit 2e507a4

Please sign in to comment.