]> BookStack Code Mirror - bookstack/blobdiff - app/Theming/ThemeService.php
PHP: Addressed 8.4 deprecations within app itself
[bookstack] / app / Theming / ThemeService.php
index 639854d6ad10e5879358640d5b52a1167b1dce91..4bdb6836b0224f6c279b036069ab39f9260c733b 100644 (file)
@@ -93,7 +93,7 @@ class ThemeService
     /**
      * @see SocialDriverManager::addSocialDriver
      */
-    public function addSocialDriver(string $driverName, array $config, string $socialiteHandler, callable $configureForRedirect = null): void
+    public function addSocialDriver(string $driverName, array $config, string $socialiteHandler, ?callable $configureForRedirect = null): void
     {
         $driverManager = app()->make(SocialDriverManager::class);
         $driverManager->addSocialDriver($driverName, $config, $socialiteHandler, $configureForRedirect);