refs #4123 fix some phpstorm inspection warnings