...
No Format |
---|
Declaration of Intechnic\InPortal\Core\kernel\Console\Command\CompletionCommand::setApplication() should be compatible with Symfony\Component\Console\Command\Command::setApplication(Symfony\Component\Console\Application $application = NULL) |
Solution
...
Declaration of Intechnic\InPortal\Core\kernel\Console\Command\AbstractCommand::setApplication()
should be compatible with Symfony\Component\Console\Command\Command::setApplication(Symfony\Component\Console\Application $application = NULL) |
Solution
- locate all declarations of "
setApplication
" method where "ConsoleApplication
" is being used - change method declaration to use "
Symfony\Component\Console\Application
"
...
- class
- at method beginning check that instance of "
ConsoleApplication
"
...
- is being used
...
- and throw
InvalidArgumentException
otherwise