Bug #62740

Add check on literal in TypeHandlingUtility::isCollectionType

Added by Arjen Hoekema almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Utility
Target version:
-
Start date:
2014-11-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:
no-brainer

Description

Add a check to 'isLiteral' before doing expensive 'class_exists' operations trying to resolve objects for literals like: string, int, etc.

Maybe the ValidatorResolver could also do a check on a 'literal' before doing a 'class_exists' in 'buildBaseValidatorConjunction'.

Also available in: Atom PDF