mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 00:02:17 +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:
@@ -42,7 +42,7 @@ final class LogoutUrlExtension extends AbstractExtension
|
||||
*
|
||||
* @param string|null $key The firewall key or null to use the current firewall key
|
||||
*/
|
||||
public function getLogoutPath(string $key = null): string
|
||||
public function getLogoutPath(?string $key = null): string
|
||||
{
|
||||
return $this->generator->getLogoutPath($key);
|
||||
}
|
||||
@@ -52,7 +52,7 @@ final class LogoutUrlExtension extends AbstractExtension
|
||||
*
|
||||
* @param string|null $key The firewall key or null to use the current firewall key
|
||||
*/
|
||||
public function getLogoutUrl(string $key = null): string
|
||||
public function getLogoutUrl(?string $key = null): string
|
||||
{
|
||||
return $this->generator->getLogoutUrl($key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user