Merge branch 'cs/#6919-remove-unused-zend-db-sql-sql-variable'

Close #6919
Fix: Add missing return tag
Minor CS fix: docblock spacing
Merge branch 'cs/#6918-zend-di-runtimedefinition-hasprocessedclass-return-type' into develop

Close #6918
Forward port #6918