mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #149 from pylebecq/fix-float-issue
[Parser] Added float in JmsMetadataParser::isPrimitive().
This commit is contained in:
commit
5daf8ac5f6
@ -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