Update SitesHelper.php

Modified beforeRender parameters to pass Strict checks.