diff --git a/src/Objects/Sources/WordPressPostSource.php b/src/Objects/Sources/WordPressPostSource.php index c413404..7327530 100644 --- a/src/Objects/Sources/WordPressPostSource.php +++ b/src/Objects/Sources/WordPressPostSource.php @@ -155,7 +155,7 @@ public function countDataRows(): int $limitPos = strripos($sql, 'limit'); $sqlSuffix = substr($sql, $fromPos, $limitPos - $fromPos); - $sql = 'select count (*) as count '.$sqlSuffix; + $sql = 'select count(*) as count '.$sqlSuffix; $countStmt = $this->pdo->prepare($sql); $countStmt->execute(); diff --git a/src/Objects/Sources/WordPressUserSource.php b/src/Objects/Sources/WordPressUserSource.php index 70ae290..53f9f27 100644 --- a/src/Objects/Sources/WordPressUserSource.php +++ b/src/Objects/Sources/WordPressUserSource.php @@ -153,7 +153,7 @@ public function countDataRows(): int $limitPos = strripos($sql, 'limit'); $sqlSuffix = substr($sql, $fromPos, $limitPos - $fromPos); - $sql = 'select count (*) as count '.$sqlSuffix; + $sql = 'select count(*) as count '.$sqlSuffix; $countStmt = $this->pdo->prepare($sql); $countStmt->execute();