optimize Model::doProtectFields(): remove count($data) when possible, use truthy check is enough
optimize Model::doProtectFields(): remove count($data) when possible, use truthy check is enough

bcit-ci/CodeIgniter4,lonnieezell/CodeIgniter4,ytetsuro/CodeIgniter4,samsonasik/CodeIgniter4,samsonasik/CodeIgniter4,lonnieezell/CodeIgniter4,samsonasik/CodeIgniter4,ytetsuro/CodeIgniter4,natanfelles/CodeIgniter4,kenjis/CodeIgniter4,samsonasik/CodeIgniter4,natanfelles/CodeIgniter4,natanfelles/CodeIgniter4,kenjis/CodeIgniter4,ytetsuro/CodeIgniter4,lonnieezell/CodeIgniter4,lonnieezell/CodeIgniter4,natanfelles/CodeIgniter4,ytetsuro/CodeIgniter4,samsonasik/CodeIgniter4,bcit-ci/CodeIgniter4,bcit-ci/CodeIgniter4,kenjis/CodeIgniter4,natanfelles/CodeIgniter4,bcit-ci/CodeIgniter4,lonnieezell/CodeIgniter4,samsonasik/CodeIgniter4,bcit-ci/CodeIgniter4,kenjis/CodeIgniter4,lonnieezell/CodeIgniter4,ytetsuro/CodeIgniter4,kenjis/CodeIgniter4,ytetsuro/CodeIgniter4,natanfelles/CodeIgniter4