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/f301e637-05f2-4c69-998a-adc159afc041