Scrutinizer Auto-Fixes

@mathroc requested this pull request.

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/prelinker/SharedanceSessionHandler/inspections/6b9110a4-5861-4bbe-95ce-4a0c1dbe336c

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