Property was not cast if was defined as nullable.
Property was not cast if was defined as nullable.

If property was defined as @Nullable i.e.: `?array, ?json, ?json-array` then it was not cast  .

Solution 1: add all cases with '?' at the beginning to switch.
Solution 2: change type if null was not returned at the beginning of castAs method. - i've picked this one.
bcit-ci/CodeIgniter4,natanfelles/CodeIgniter4,natanfelles/CodeIgniter4,gustavojm/CodeIgniter4,natanfelles/CodeIgniter4,ytetsuro/CodeIgniter4,jim-parry/CodeIgniter4,samsonasik/CodeIgniter4,jim-parry/CodeIgniter4,lonnieezell/CodeIgniter4,samsonasik/CodeIgniter4,bcit-ci/CodeIgniter4,butane/CodeIgniter4,lonnieezell/CodeIgniter4,jim-parry/CodeIgniter4,kenjis/CodeIgniter4,butane/CodeIgniter4,samsonasik/CodeIgniter4,lonnieezell/CodeIgniter4,lonnieezell/CodeIgniter4,ytetsuro/CodeIgniter4,natanfelles/CodeIgniter4,ytetsuro/CodeIgniter4,samsonasik/CodeIgniter4,natanfelles/CodeIgniter4,lonnieezell/CodeIgniter4,gustavojm/CodeIgniter4,gustavojm/CodeIgniter4,kenjis/CodeIgniter4,bcit-ci/CodeIgniter4,natanfelles/CodeIgniter4,kenjis/CodeIgniter4,bcit-ci/CodeIgniter4,butane/CodeIgniter4,ytetsuro/CodeIgniter4,kenjis/CodeIgniter4,lonnieezell/CodeIgniter4,gustavojm/CodeIgniter4,ytetsuro/CodeIgniter4,bcit-ci/CodeIgniter4,butane/CodeIgniter4,kenjis/CodeIgniter4,butane/CodeIgniter4,jim-parry/CodeIgniter4,ytetsuro/CodeIgniter4,samsonasik/CodeIgniter4,jim-parry/CodeIgniter4,samsonasik/CodeIgniter4,butane/CodeIgniter4,jim-parry/CodeIgniter4