PHP Version
7.4
CodeIgniter4 Version
develop
CodeIgniter4 Installation Method
Git
Which operating systems have you tested for this bug?
Linux
Which server did you use?
cli
Database
No response
What happened?
I believe that the typing on BaseCommand::run() was supposed to be @param array<int, string> $params (a "list" of strings), not @param array<string, mixed> $params (string keys, mixed values).
|
/** |
|
* Actually execute a command. |
|
* |
|
* @param array<string, mixed> $params |
|
*/ |
|
abstract public function run(array $params); |
I started tracing this back and it was taking too long but should be quick follow-up at some point.
Steps to Reproduce
See code
Expected Output
See code
Anything else?
No response
PHP Version
7.4
CodeIgniter4 Version
develop
CodeIgniter4 Installation Method
Git
Which operating systems have you tested for this bug?
Linux
Which server did you use?
cli
Database
No response
What happened?
I believe that the typing on
BaseCommand::run()was supposed to be@param array<int, string> $params(a "list" of strings), not@param array<string, mixed> $params(string keys, mixed values).CodeIgniter4/system/CLI/BaseCommand.php
Lines 96 to 101 in bca263c
I started tracing this back and it was taking too long but should be quick follow-up at some point.
Steps to Reproduce
See code
Expected Output
See code
Anything else?
No response