Remove mixed types and unused parameters.
Remove mixed types and unused parameters.

Refs #12471

CakeDC/cakephp,garethellis36/cakephp,CakeDC/cakephp,cakephp/cakephp,dakota/cakephp,ADmad/cakephp,petteyg/cakephp,tenkoma/cakephp,dakota/cakephp,mvdriel/cakephp,cakephp/cakephp,davidyell/cakephp,ADmad/cakephp,CakeDC/cakephp,mvdriel/cakephp,cakephp/cakephp,ndm2/cakephp,dakota/cakephp,davidyell/cakephp,garethellis36/cakephp,ADmad/cakephp,tenkoma/cakephp,garethellis36/cakephp,ndm2/cakephp,petteyg/cakephp,tenkoma/cakephp,cakephp/cakephp,mvdriel/cakephp,ndm2/cakephp,petteyg/cakephp,garethellis36/cakephp,mvdriel/cakephp,ADmad/cakephp,davidyell/cakephp,dakota/cakephp,tenkoma/cakephp,ndm2/cakephp,CakeDC/cakephp,petteyg/cakephp