Scrutinizer Auto-Fixes

@prisis requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/narrowspark/framework/inspections/045a0b74-5928-493d-bef8-bbad1f67c4ed