Scrutinizer Auto-Fixes

@brianfoxwell requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/brianfoxwell/ImagePalette/inspections/4a579eae-39cd-4912-a183-3c10a2125fc1

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend