1
0
Fork 0

Added returned type-int "int"

This commit is contained in:
Roland Häder 2022-07-13 21:09:49 +02:00
commit 4cb5cadba8
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77
28 changed files with 28 additions and 28 deletions

View file

@ -67,7 +67,7 @@ HELP;
$this->l10n = $l10n;
}
protected function doExecute()
protected function doExecute(): int
{
$duplicates = $this->dba->p("SELECT COUNT(*) AS `total`, `uri-id`, MAX(`url`) AS `url` FROM `contact` WHERE `uid` = 0 GROUP BY `uri-id` HAVING total > 1");
while ($duplicate = $this->dba->fetch($duplicates)) {