]> git.mxchange.org Git - friendica.git/commitdiff
Add missing return
authorArt4 <art4@wlabs.de>
Tue, 5 Nov 2024 11:52:23 +0000 (11:52 +0000)
committerArt4 <art4@wlabs.de>
Tue, 5 Nov 2024 11:52:23 +0000 (11:52 +0000)
This needs some refactoring: returning nothing implicit returns null, thas will be convert to int 0.
I return false instead of nothing to keep this behaviour for BC.

src/Console/User.php

index bdbe7be578580ba07d52f4e9c845e4ecfbceb172..b73311368ab43977a150f23ba0ba7e39f3b22749 100644 (file)
@@ -512,5 +512,7 @@ HELP;
                                $this->out($this->getHelp());
                                return false;
                }
+
+               return false;
        }
 }