After updating my applications dependencies this morning i started getting this error when a validator chain contains isFLoat
assert($lastStringGroup !== '')
my validator and filter chain are set in the getInputFilterSpecification of my form like so:
[ 'name' => 'min_gpa', 'validators' => [ [ 'name' => 'NotEmpty', ], [ 'name' => 'IsFloat', ], ], 'filters' => [ ['name' => StripTags::class], ['name' => StringTrim::class], ], ],
Before today if it was empty it would say “a value is required”. now i get the exception.
Any help would be greatly appreciated.