@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | // We have a passive request. Skip the warning. |
189 | 189 | return; |
190 | 190 | } |
191 | - Logger::warning('expirycheck: NetID ' . $netId . ' is about to expire!'); |
|
191 | + Logger::warning('expirycheck: NetID '.$netId.' is about to expire!'); |
|
192 | 192 | |
193 | 193 | // Save state and redirect |
194 | 194 | $state['expireOnDate'] = date($this->dateFormat, $expireOnDate); |
@@ -199,8 +199,8 @@ discard block |
||
199 | 199 | } |
200 | 200 | |
201 | 201 | if (!$this->checkDate($expireOnDate)) { |
202 | - Logger::error('expirycheck: NetID ' . $netId . |
|
203 | - ' has expired [' . date($this->dateFormat, $expireOnDate) . ']. Access denied!'); |
|
202 | + Logger::error('expirycheck: NetID '.$netId. |
|
203 | + ' has expired ['.date($this->dateFormat, $expireOnDate).']. Access denied!'); |
|
204 | 204 | |
205 | 205 | /* Save state and redirect. */ |
206 | 206 | $state['expireOnDate'] = date($this->dateFormat, $expireOnDate); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return \SimpleSAML\XHTML\Template|\SimpleSAML\HTTP\RunnableResponse |
77 | 77 | */ |
78 | - public function about2expire(Request $request): Template|RunnableResponse |
|
78 | + public function about2expire(Request $request): Template | RunnableResponse |
|
79 | 79 | { |
80 | 80 | Logger::info('expirycheck - User has been warned that NetID is near to expirational date.'); |
81 | 81 |