« Previous | Next » 

Revision 988e05c2

ID988e05c29b61c2e4f1f71611f7d7171ab13616f1

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
I007b0faf486680ecfb2fe7c753ef4cabcf6d618c

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