improvements in code quality
Merge pull request #307 from cordoval/307-minor-improvements-for-scrutinizer

merge #307 minor improvements for scrutinizer (cordoval)

This PR was merged into gushphp:master branch.

Discussion
----------

Sent using [Gush](https://github.com/gushphp/gush)

Commits
-------

ca867b4de20ba5bfbf16895e26ad4810223b97fe improvements in code quality (cordoval)