Completed
Push — master ( b97427...e235cc )
by Raffael
30:35 queued 26:08
created

InvalidRecaptchaToken::getStatusCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * balloon
7
 *
8
 * @copyright   Copryright (c) 2012-2019 gyselroth GmbH (https://gyselroth.com)
9
 * @license     GPL-3.0 https://opensource.org/licenses/GPL-3.0
10
 */
11
12
namespace Balloon\App\Recaptcha\Exception;
13
14
use Micro\Http\ExceptionInterface;
15
16
class InvalidRecaptchaToken extends \Balloon\Exception implements ExceptionInterface
17
{
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function getStatusCode(): int
22
    {
23
        return 403;
24
    }
25
}
26