Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class VanillaforumsVariable |
||
23 | { |
||
24 | // Public Methods |
||
25 | // ========================================================================= |
||
26 | |||
27 | /** |
||
28 | * Generate an SSO string suitable for passing in the url for embedded SSO |
||
29 | * |
||
30 | * @param int $userId |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function embeddedOutput(int $userId = 0): string |
||
38 | ); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Return whether we are running Craft 3.1 or later |
||
43 | * |
||
44 | * @return bool |
||
45 | */ |
||
46 | public function craft31(): bool |
||
51 |