Closed afbora closed 6 months ago
I also suggest to change the clean()
function name to something more specific (for ex: cliClean()
or something like that) or make it an anonymous function, in case it is conflicting with another clean()
function in the application.
throw $e->getMessage()
usage is invalid. I just moved the error message to$cli->error()