Closed chris-kruining closed 5 years ago
@chris-kruining I believe it should return $functions
as you've noted.
As I can see this method is not used anywhere in the codebase.
Anyway, would you like to submit PR with the hotfix, please?
wouldn't it be better in this case to deprecate the whole method?
Can do as well. I was trying to find where it was used, but I haven't found anything. Looks like added 7 years ago and then just CS fixes on it... Probably it was never used as it is unusable like that from the very beginning.
hmm, just speculating, but if unusable for 7 years. go all in and remove?
Yeah, that sounds as the best idea in that case, imho.
/cc @ezimuel
closing, just need to await the PR to merge
https://github.com/zendframework/zend-db/blob/4c68f2c33beb76d63a59c5bd5e6c96c9763966d7/src/Adapter/Adapter.php#L237
As far as I can see this method is now little more than a waste of cpu cycles, is this method correct as is or should it return
$functions
?