]> BookStack Code Mirror - bookstack/blobdiff - app/Access/Oidc/OidcOAuthProvider.php
Started aligning app-wide outbound http calling behaviour
[bookstack] / app / Access / Oidc / OidcOAuthProvider.php
index 2ed8cd5c9726ff40a41f33301b4be508425cfd5b..d2dc829b729ef4e342853e29fe2c87e35f236afe 100644 (file)
@@ -20,15 +20,8 @@ class OidcOAuthProvider extends AbstractProvider
 {
     use BearerAuthorizationTrait;
 
-    /**
-     * @var string
-     */
-    protected $authorizationEndpoint;
-
-    /**
-     * @var string
-     */
-    protected $tokenEndpoint;
+    protected string $authorizationEndpoint;
+    protected string $tokenEndpoint;
 
     /**
      * Scopes to use for the OIDC authorization call.
@@ -60,7 +53,7 @@ class OidcOAuthProvider extends AbstractProvider
     }
 
     /**
-     * Add an additional scope to this provider upon the default.
+     * Add another scope to this provider upon the default.
      */
     public function addScope(string $scope): void
     {