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.

DeathByCaptchaInterface::resolve()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
namespace juniorb2ss\DeathByCaptcha\Interfaces;
4
5
use juniorb2ss\DeathByCaptcha\Interfaces\StatusInterface;
6
use juniorb2ss\DeathByCaptcha\Interfaces\AccountInterface;
7
use juniorb2ss\DeathByCaptcha\Interfaces\ResolveInterface;
8
9
interface DeathByCaptchaInterface
10
{
11
    /**
12
     * Recupera informações sobre a conta
13
     * @return AccountInterface
14
     */
15
    public function account(): AccountInterface;
16
17
    /**
18
     * Recupera status do serviço
19
     * @return StatusInterface [description]
20
     */
21
    public function status(): StatusInterface;
22
23
    /**
24
     * Envia o captcha pro serviço ou recupera o resultado
25
     * de um captcha previamente enviado
26
     * @param  $mix $captcha ID do captcha ou imagem
0 ignored issues
show
Documentation introduced by
The doc-type $mix could not be parsed: Unknown type name "$mix" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
Bug introduced by
There is no parameter named $captcha. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
27
     * @return ResolveInterface
28
     */
29
    public function resolve($mix): ResolveInterface;
30
31
    /**
32
     * Envia o captcha pro serviço ou recupera o resultado
33
     * de um captcha previamente enviado
34
     * @param  $mix $captcha ID do captcha or site-key
0 ignored issues
show
Documentation introduced by
The doc-type $mix could not be parsed: Unknown type name "$mix" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
Bug introduced by
There is no parameter named $captcha. Was it maybe removed?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.

Consider the following example. The parameter $italy is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $island
 * @param array $italy
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was removed, but the annotation was not.

Loading history...
35
     * @param  $url $url url
0 ignored issues
show
Documentation introduced by
The doc-type $url could not be parsed: Unknown type name "$url" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
36
     * @return ResolveInterface
37
     */
38
    public function resolveV2(string $mix, string $url = null): ResolveInterface;
39
40
    /**
41
     * Informa ao serviço que o captcha recuperado
42
     * é inválido.
43
     * @param  int    $id
44
     * @return ReportInterface
45
     */
46
    public function report(int $id): ReportInterface;
47
}
48