mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
This commit is contained in:
@@ -19,7 +19,7 @@ class UnauthorizedHttpException extends HttpException
|
||||
/**
|
||||
* @param string $challenge WWW-Authenticate challenge string
|
||||
*/
|
||||
public function __construct(string $challenge, string $message = '', \Throwable $previous = null, int $code = 0, array $headers = [])
|
||||
public function __construct(string $challenge, string $message = '', ?\Throwable $previous = null, int $code = 0, array $headers = [])
|
||||
{
|
||||
$headers['WWW-Authenticate'] = $challenge;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user