I'm not sure what's considered best practises in PHP now a days, since it's been nearly 5 years since I did any serious PHP programming. So I'd say you've probably got authority here @williamknauss.

But I'd like to suggest the use of whitespace on both ends of operators to improve readability.

For example:

    if ($offset !== null) {...}

Instead of: 

    if ($offset!==null) {...}