mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
4621917c62
There are various places where it's not guaranteed that the variable being used is array, and instead, can be null, bool, int... We need to check that because php74 warns about it. Where possible we have used the coalesce operator as replacement for isset() ternary operations.