Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Entregas |
||
14 | { |
||
15 | const FRETE_FORMATO_CAIXA = 1; |
||
16 | const FRETE_FORMATO_ROLO = 2; |
||
17 | const FRETE_FORMATO_ENVELOPE = 3; |
||
18 | |||
19 | /** |
||
20 | * @param string $cep |
||
21 | * @return Cep |
||
22 | */ |
||
23 | public static function cep(string $cep): Cep |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param array $zipcode |
||
30 | * @param array $methods |
||
31 | * @param array $item |
||
32 | * @param array|null $options |
||
33 | * @return Frete|null |
||
34 | */ |
||
35 | public static function frete(array $zipcode, array $methods, array $item, ?array $options = null): ?Frete |
||
42 | } |
||
43 | } |
||
44 | |||
45 | |||
46 | /** |
||
47 | * @param string $code |
||
48 | * @param array|null $options |
||
49 | * @return Rastreio |
||
50 | */ |
||
51 | public static function rastreio(string $code, ?array $options = []): Rastreio |
||
54 | } |
||
55 | } |