]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/User.php
Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop
[friendica.git] / src / Console / User.php
index 1c1d26b0a9d773bffeab5d6a800a844e012301f7..25f5ceeb0781f6cfd354c2022d810e44b265e10b 100644 (file)
@@ -97,7 +97,7 @@ HELP;
                $this->pConfig = $pConfig;
        }
 
-       protected function doExecute()
+       protected function doExecute(): int
        {
                if ($this->getOption('v')) {
                        $this->out('Class: ' . __CLASS__);
@@ -310,7 +310,7 @@ HELP;
         * @return bool True, if the delete was successful
         * @throws \Exception
         */
-       private function deleteUser()
+       private function deleteUser(): bool
        {
                $user = $this->getUserByNick(1);