Skip to content

Commit abcc478

Browse files
authored
Fix type error in options generation for numeric type
1 parent a1dcc0e commit abcc478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guesser/DoctrineFieldGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ protected function getOptions($type, $dbType, $model, $fieldPath, $filter = fals
270270
}
271271

272272
return array(
273-
'scale' => isset($scale) ? $scale : '',
273+
'scale' => isset($scale) ? $scale : null,
274274
'required' => $filter ? false : $this->isRequired($class, $columnName)
275275
);
276276
}

0 commit comments

Comments
 (0)