| @@ -197,7 +197,7 @@ | ||
| 197 | 197 | } | 
| 198 | 198 | |
| 199 | 199 | /** | 
| 200 | - * @param $message | |
| 200 | + * @param string $message | |
| 201 | 201 | * @param $severity | 
| 202 | 202 | */ | 
| 203 | 203 | private function log($message, $severity) | 
| @@ -351,7 +351,7 @@ | ||
| 351 | 351 |      { | 
| 352 | 352 |          if (false === isset($this->clientIdentifier)) { | 
| 353 | 353 | $this->clientIdentifier = md5( | 
| 354 | - $this->restrictionIdentifier->getIdentifierValue() . $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] | |
| 354 | + $this->restrictionIdentifier->getIdentifierValue().$GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] | |
| 355 | 355 | ); | 
| 356 | 356 | } | 
| 357 | 357 | return $this->clientIdentifier; | 
| @@ -124,7 +124,7 @@ | ||
| 124 | 124 | } | 
| 125 | 125 | |
| 126 | 126 | /** | 
| 127 | - * @param $userAuthObject | |
| 127 | + * @param FrontendUserAuthentication $userAuthObject | |
| 128 | 128 | * @return boolean | 
| 129 | 129 | */ | 
| 130 | 130 | private function updateGlobals(&$userAuthObject) | 
| @@ -46,7 +46,7 @@ | ||
| 46 | 46 |      { | 
| 47 | 47 |          if (!isset($this->identifierValue)) { | 
| 48 | 48 | $loginFormData = $this->frontendUserAuthentication->getLoginFormData(); | 
| 49 | -            if (isset($loginFormData['uname']) &&  !empty($loginFormData['uname'])) { | |
| 49 | +            if (isset($loginFormData['uname']) && !empty($loginFormData['uname'])) { | |
| 50 | 50 | $this->identifierValue = $loginFormData['uname']; | 
| 51 | 51 |              } else { | 
| 52 | 52 | $this->identifierValue = ''; | 
| @@ -33,7 +33,7 @@ | ||
| 33 | 33 |  { | 
| 34 | 34 | const SEVERITY_INFO = 0; | 
| 35 | 35 | const SEVERITY_NOTICE = 1; | 
| 36 | - const SEVERITY_WARNING = 2; | |
| 36 | + const SEVERITY_WARNING = 2; | |
| 37 | 37 | const SEVERITY_ERROR = 3; | 
| 38 | 38 | |
| 39 | 39 | /** | 
| @@ -112,7 +112,7 @@ | ||
| 112 | 112 |      { | 
| 113 | 113 |          if ($this->isProtectionEnabled() && $this->getRestrictionService()->isClientRestricted()) { | 
| 114 | 114 | $GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup'] | 
| 115 | - [$this->frontendUserAuthentication->loginType . '_fetchAllUsers'] = false; | |
| 115 | + [$this->frontendUserAuthentication->loginType.'_fetchAllUsers'] = false; | |
| 116 | 116 |              return array('uid' => 0); | 
| 117 | 117 | } | 
| 118 | 118 | return parent::getUser(); | 
| @@ -189,6 +189,6 @@ | ||
| 189 | 189 |          if (array_key_exists($key, $this->configuration)) { | 
| 190 | 190 | return $this->configuration[$key]; | 
| 191 | 191 | } | 
| 192 | -        throw new Exception('Configuration key "' . $key . '" does not exist.'); | |
| 192 | +        throw new Exception('Configuration key "'.$key.'" does not exist.'); | |
| 193 | 193 | } | 
| 194 | 194 | } |