« Previous | Next » 

Revision d473ee2f


Added by Sebastian Kurfuerst over 9 years ago

[BUGFIX] (Reflection): ObjectAccess::setProperty must work with numeric indexes

When trying to set a value to an ArrayAccess object with a numeric index, the
ObjectAccess::setProperty() method throws an exception because $propertyName
must be a string.

However, we should allow integers there as well.

Resolves: #33698
Releases: 1.1
Change-Id: I85e942ef9990cf035187a155b3f84b3a76885d4b

  • added
  • modified
  • copied
  • renamed
  • deleted