Commit 267f0bc6 authored by joriot221's avatar joriot221
Browse files

Correction modification de type intervention

parent 4b175566
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -163,10 +163,10 @@ class TypeInterventionSaisieForm extends AbstractForm
            'taux-hetd-complementaire' => [
                'required'   => true,
                'validators' => [
                    new \Laminas\Validator\Callback([
                    new \Laminas\œValidator\Callback([
                        'messages' => [\Laminas\Validator\Callback::INVALID_VALUE => '%value% doit être >= 0'],
                        'callback' => function ($value) {
                            return (StringFromFloat::run($value) >= 0.0 ? true : false);
                            return (FloatFromString::run($value) >= 0.0 ? true : false);
                        }]),
                ],
            ],