phalcon/cphalcon — pull request #2998 by stecman (2014-11-09 03:28:36+00:00)
Title: [2.0.0] Update asset manager code written to depend on null property defaults of Collection

Didn't pick this error up before submitting my change in #2997, sorry.

As a side note, it looks like there's quite a few places in the code where null would be returned instead of an array as indicated by the doc comment, because the code is written with lazy array allocation. What's the preference? In PHP user-land, I'd expect to get an array back if a method indicates it returns an array of something.