Scrutinizer Auto-Fixes

@artad requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/artad/IllustrationManager/inspections/9950be1a-18a3-428e-9b5a-b8b9c3ec3837