Passed
Push — master ( 26f295...e4804f )
by Roberto
02:49
created

ReCaptchaBuilderV3::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Copyright (c) 2017 - present
4
 * LaravelGoogleRecaptcha - ReCaptchaBuilderV3.php
5
 * author: Roberto Belotti - [email protected]
6
 * web : robertobelotti.com, github.com/biscolab
7
 * Initial version created on: 22/1/2019
8
 * MIT license: https://github.com/biscolab/laravel-recaptcha/blob/master/LICENSE
9
 */
10
11
namespace Biscolab\ReCaptcha;
12
13
/**
14
 * Class ReCaptchaBuilderV3
15
 * @package Biscolab\ReCaptcha
16
 */
17
class ReCaptchaBuilderV3 extends ReCaptchaBuilder {
18
19
    /**
20
     * ReCaptchaBuilderV3 constructor.
21
     *
22
     * @param string $api_site_key
23
     * @param string $api_secret_key
24
     */
25
    public function __construct(string $api_site_key, string $api_secret_key) {
26
        parent::__construct($api_site_key, $api_secret_key, 'v3');
27
    }
28
29
}