Fix phpstan errors.
Fix phpstan errors.

cakephp/cakephp,dakota/cakephp,ndm2/cakephp,dakota/cakephp,ADmad/cakephp,cakephp/cakephp,CakeDC/cakephp,cakephp/cakephp,ndm2/cakephp,CakeDC/cakephp,CakeDC/cakephp,dakota/cakephp,ADmad/cakephp,ADmad/cakephp,cakephp/cakephp,CakeDC/cakephp,ndm2/cakephp,dakota/cakephp,ADmad/cakephp,ndm2/cakephp