Merge branch 'hotfix/4990'

Close #4990
Fix error Undefined variable: class in Zend/ModuleManager/Listener/ServiceListener.php
Add parens for ternary operator
Merge branch 'hotfix/4957' into develop

Forward port #4957