Fix a few PhpStorm inspector warnings
Revert accidential commit on KunenaTable
Merge pull request #1766 from mahagr/master

Fix a few PhpStorm inspector warnings