« Previous | Next » 

Revision 57a78d3b


Added by Mattias Nilsson over 8 years ago

[BUGFIX] Exception thrown in TypeHandling

When using isCollectionType() on an unknown class, an exception is
caused by a warning PHP gives about that class being unknown.

The issue has been introduced together with the patch

This adds a check that the element is a known class before using
is_subclass_of() to prevent the exception.

Change-Id: Iae59221cbd72677e6c18ad0a383792a798447253
Fixes: #45876
Releases: master, 2.0, 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted