Skip to content

Commit

Permalink
validators on string to int
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodevog committed Nov 14, 2023
1 parent b7626a2 commit 3e38ac6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions module/LogisticsBundle/Form/Inventory/Inventory.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ public function init()
'filters' => array(
array('name' => 'StringTrim'),
),
'validators' => array(
array('name' => 'Int'),
),
),
),
'attributes' => array(
Expand Down Expand Up @@ -146,6 +149,9 @@ public function init()
'filters' => array(
array('name' => 'StringTrim'),
),
'validators' => array(
array('name' => 'Int'),
),
),
),
'attributes' => array(
Expand Down

0 comments on commit 3e38ac6

Please sign in to comment.