update function signature to match that in parent class (recently changed)
authorNoah Miller <nm@lemnisc.us>
Fri, 22 Sep 2023 04:03:43 +0000 (00:03 -0400)
committerNoah Miller <nm@lemnisc.us>
Fri, 22 Sep 2023 04:03:43 +0000 (00:03 -0400)
ext/oauth-client/Civi/Api4/OAuthSessionToken.php

index 35be9738a77ef815da7994889237538c45859a3c..35ed70703296eae014ff95248839fe65ed3344c9 100644 (file)
@@ -101,7 +101,7 @@ class OAuthSessionToken extends Generic\AbstractEntity {
     ];
   }
 
-  protected static function getEntityTitle($plural = FALSE) {
+  protected static function getEntityTitle(bool $plural = FALSE): string {
     return $plural ? ts('OAuth Session Tokens') : ts('OAuth Session Token');
   }