one-pass reformatting of EVERYTHING
A couple of things

- no need to declare variables you only use once
- breaking up ifs
- simplifying loadMulti
actually, strpos is unecessary
explode() will simply return a one item array if there is no comma
a couple of minor things
baic cleanup
since we know this is an array, empty() is quicker
starting cleanup, but holdup...
let's make sure we have an array here
now that we know it'll be an array for sure
we can simplify this up here, too
getting rid of some more variables
proper type hinting in Docblocks here
yeah, messed up this if ;-)
hmm, trying to roll back, is this really the error?
alright, so is it /this/?
a number of small fixes, plus: don't call reset on a possibly empty array
ditto - better to check whether we have anything, then return the last item
this is definitely an array, empty() is safe for use and faster
basic stuff here
if we're already trim()ming, we might as well use the result
more minor fixes, heading for the big files now