Improved code quality by fixing Code Inspection warnings (PhpStorm)