mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
![]() Replace it for correct property_exists() when the element being inspected is a property of object/class. Amended and squased changes: - keep mongo unmodified. The information is array, hence correct. - fix a couple of messaging phpdocs that were incorrect. Amended take#2: - As far as mongo resturns BSONDocument that is ArrayObject, aka implements ArrayAccess, we have decided to explicitly cast results to array so existing array_key_exists() and other accesses will continue working the same. |
||
---|---|---|
.. | ||
tests | ||
constants.php | ||
grade_category.php | ||
grade_grade.php | ||
grade_item.php | ||
grade_object.php | ||
grade_outcome.php | ||
grade_scale.php |