diff --git a/composer.json b/composer.json index ab780c7..32c4fa6 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "comodojo/dispatcher-bundle", + "name": "pmarcelli/dispatcher-bundle", "description": "Dispatcher 4.X default bundle", "type": "comodojo-bundle", "license": "MIT", @@ -14,8 +14,8 @@ } }, "require": { - "comodojo/dispatcher.framework": "dev-master", - "comodojo/comodojo-installer": "dev-master" + "pmarcelli/dispatcher.framework": "dev-dispatcher-framework_u7320", + "pmarcelli/comodojo-installer": "dev-comodojo-installer_u7320" }, "extra": { "commands": [ diff --git a/src/Comodojo/Dispatcher/Commands/CacheClear.php b/src/Comodojo/Dispatcher/Commands/CacheClear.php index 811bd7f..fca0629 100644 --- a/src/Comodojo/Dispatcher/Commands/CacheClear.php +++ b/src/Comodojo/Dispatcher/Commands/CacheClear.php @@ -27,6 +27,9 @@ protected function execute(InputInterface $input, OutputInterface $output) { $manager->clear(); $output->write('done!'); $output->writeln(''); + + //PHP Fatal error: Uncaught TypeError: Return value of "Comodojo\Dispatcher\Commands\CacheClear::execute()" must be of the type int, "null" returned + return 0; } diff --git a/src/Comodojo/Dispatcher/Commands/CacheStats.php b/src/Comodojo/Dispatcher/Commands/CacheStats.php index b4dbb0f..e47e9f9 100644 --- a/src/Comodojo/Dispatcher/Commands/CacheStats.php +++ b/src/Comodojo/Dispatcher/Commands/CacheStats.php @@ -30,6 +30,8 @@ protected function execute(InputInterface $input, OutputInterface $output) { foreach ($stats as $stat) { self::printStats($stat, $output); } + + return 0; } diff --git a/src/Comodojo/Dispatcher/Commands/Info.php b/src/Comodojo/Dispatcher/Commands/Info.php index eedf2d6..628d2fb 100644 --- a/src/Comodojo/Dispatcher/Commands/Info.php +++ b/src/Comodojo/Dispatcher/Commands/Info.php @@ -24,6 +24,8 @@ protected function execute(InputInterface $input, OutputInterface $output) { $version->getDescription(), '-----------------------------' ]); + + return 0; }