$ phalcon PHP Fatal error: Declaration of Phalcon\Devtools\Version::_getVersion() must be compatible with Phalcon\Version::_getVersion(): array in /home/user/progs/vendor/phalcon/devtools/scripts/Phalcon/Devtools/Version.php on line 44
The error above occurs when phalcon command is called. The composer command was done with no error on screen, like it is on https://docs.phalcon.io/4.0/en/devtools
I think that the command phalcon is still using the older devtool (3.4), but I don't know how to test and change it.