GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( e2ddad...a5d5b8 )
by Mario
02:08
created

CaptchaExtension::getFunctions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 9.8333
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Netgen\InformationCollection\Templating\Twig\Extensions;
6
7
use Twig\Extension\AbstractExtension;
8
use Twig\TwigFunction;
9
10
class CaptchaExtension extends AbstractExtension
11
{
12
    /**
13
     * @return \Twig\TwigFunction[]
14
     */
15
    public function getFunctions(): array
16
    {
17
        return [
18
            new TwigFunction(
19
                'info_collection_captcha_is_enabled',
20
                [CaptchaRuntime::class, 'isEnabled']
21
            ),
22
            new TwigFunction(
23
                'info_collection_captcha_get_site_key',
24
                [CaptchaRuntime::class, 'getSiteKey']
25
            ),
26
        ];
27
    }
28
}
29