// Detect login method (username or email) and try to get a userinstance
if (!is_null($requestInstance->getRequestElement('user'))) {
// Username found!
- $method = "createGuestByUsername";
+ $method = 'createGuestByUsername';
$data = $requestInstance->getRequestElement('user');
- }
+ } // END - if
// Is a method detected?
if (is_null($method)) {