Lint
This commit is contained in:
parent
b558766cdc
commit
8e0c56641a
src/Authentication
|
@ -28,8 +28,8 @@ class MainCookie extends Authenticator
|
|||
unlink($file);
|
||||
}
|
||||
|
||||
$this->http()->get($this->url.'/ica/pages/login.jsp');
|
||||
$response = $this->http()->asForm()->post($this->url.'/ica/rest/nami/auth/manual/sessionStartup', [
|
||||
$this->http()->get($this->url . '/ica/pages/login.jsp');
|
||||
$response = $this->http()->asForm()->post($this->url . '/ica/rest/nami/auth/manual/sessionStartup', [
|
||||
'Login' => 'API',
|
||||
'redirectTo' => './app.jsp',
|
||||
'username' => $mglnr,
|
||||
|
@ -77,7 +77,7 @@ class MainCookie extends Authenticator
|
|||
|
||||
private function newFileName(): string
|
||||
{
|
||||
return parent::$path.'/'.time().'.txt';
|
||||
return parent::$path . '/' . time() . '.txt';
|
||||
}
|
||||
|
||||
private function isExpired(): bool
|
||||
|
@ -94,7 +94,7 @@ class MainCookie extends Authenticator
|
|||
*/
|
||||
private function file(): ?string
|
||||
{
|
||||
$files = glob(parent::$path.'/*');
|
||||
$files = glob(parent::$path . '/*');
|
||||
|
||||
if (!count($files)) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue