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/73361057-a7d1-4ff4-888d-07f2a716f4f5