[psr-2] Add whitespace for anonymous functions.
Merge branch 'Maks3w-hotfix/cs' into develop

Close #5304