civicrm/civicrm-core — pull request #2401 by eileenmcnaughton (2014-01-23 20:58:20+00:00)
Title: CRM-14120 e-notice error due to returning NULL not by reference,

From what I recall php lazy copying means that we don't lose any performance benefit by not returning as a reference

----------------------------------------
* CRM-14120: Notice Notice: Only variable references should be returned by reference in event() (line 122 of /srv/www/womenslibrary.org.uk/sites/all/modules/civicrm/CRM/Event/PseudoConstant.php).
http://issues.civicrm.org/jira/browse/CRM-14120