Scrutinizer Auto-Fixes

@hypeJunction requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/hypeJunction/hypeGallery/inspections/25eb22d1-a3bb-4de9-9bf0-c8090d684bbd

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - JSHint
 - Security Advisory Checker
 - PHP PDepend
 - PHP HHVM
 - PHP Similarity Analyzer
 - PHP Change Tracking Analyzer