Closed efrj closed 3 years ago
I don't think this is really need for this case right now. There is no great improvement if provided the type definition, and some parameter type of Medoo are changeable that like get($table, $columns, $where)
, the $columns can be array or string.
This is a good suggestion, but I think it need more time to be tested, reviewed and considered.
@catfan , I did a pull request without first opening a new issue. I added the array typing in the call of the parameters of the methods that request data of type array. I think the code should be compatible with PHP 7 to the max.
Example:
The Pull request ID is #620.