$this->validate bug? |
Code: <?php namespace App\Controllers; I get an error: TypeError Argument 2 passed to CodeIgniter\Validation\Validation:etRules() must be of the type array, null given, called in /Users/satchwinston/Sites/CI4dev/system/Controller.php on line 187 Code: public function validate(RequestInterface $request, $rules, array $messages = null): bool Shouldn't "array $messages = null" be "array $messages = []"?
Simpler is always better
Looks like a new download of CI4 does not have this problem.
Simpler is always better
|
Welcome Guest, Not a member yet? Register Sign In |