Peak "how did this ever work" today in PHP land. I was debugging a method that was improperly returning an empty array. Dig into the code ... and found that it was hard-coded to do so.
But oh! Polymorphism meant a subclass had a non-empty-returning implementation.
Yet that was still improperly returning an empty array.
Ultimately, the very innermost method was returning an array with the wrong schema, which caused subsequent lookups to be blank.
A one-line fix got it working.
Open source. Open community. We are dedicated to building and enriching the PHP community.