mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
1f0602d42f
This fixes a bug introduced by ffbeac6b7d3ed1a6e02a150573ee4b2f9251cf9c. ClassInfo::subclassesFor() didn't previously throw an Exception if passed an invalid class; it just returned no values. This will annoy minor-release upgrades, and so I've made it return null instead in these situation.