mirror of
https://github.com/moodle/moodle.git
synced 2025-04-06 00:42:44 +02:00
- count() can only be called on arrays or Countable, it can not be called on null - recordset is neither so iterator_count() should be used - instanceof or get_class() can not be applied to non-objects - class methods must have the same arguments as methods in parent class