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/918a436c-12cf-40e8-8e4c-1b9bcb7449e6