modmore / Gitify

Command line toolkit to make managing a MODX site in git a lot easier.
MIT License
122 stars 55 forks source link

Bug Fix for: gitify clearcache #414

Closed jgulledge19 closed 1 year ago

jgulledge19 commented 1 year ago

What does it do ?

Fix is just adding a simple return 0; to the ClearCacheCommand->execute() method;

Why is it needed ?

BUG: Fatal error: Uncaught TypeError: Return value of "modmore\Gitify\Command\ClearCacheCommand::execute()" must be of the type int, "null" returned. in /core/vendor/symfony/console/Command/Command.php:301

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request N/A