mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
[Parser] Added float in JmsMetadataParser::isPrimitive().
This commit is contained in:
parent
c8a0115040
commit
7c6c1d5ce0
@ -159,7 +159,7 @@ class JmsMetadataParser implements ParserInterface
|
||||
|
||||
protected function isPrimitive($type)
|
||||
{
|
||||
return in_array($type, array('boolean', 'integer', 'string', 'double', 'array', 'DateTime'));
|
||||
return in_array($type, array('boolean', 'integer', 'string', 'float', 'double', 'array', 'DateTime'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user