Cake 2.4.1 and php 5.4 compliant

Otherwise throwing STRICT warning