silverstripe-scienceninjas/sapphire — comment on commit 2dcd700d1ff9d87d77e9ede54e117cc5e6c36b3a
File: admin/code/CMSMenu.php line 239
By slindqvist:

I would typically make a guard clause, and bail out of the function, but it's not obligatory, just my way of coding.

if(!$subClasses) {
return;
}