Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /var/www/stores/app/Modules/User/Middleware/ReferrerSearchMiddleware.php on line 5