1 | <?php |
||
5 | class PagamentoController |
||
6 | { |
||
7 | |||
8 | private $gateway = ''; |
||
9 | |||
10 | public function __construct($gateway) |
||
14 | |||
15 | /** |
||
16 | * @return void |
||
17 | * @param String $token |
||
18 | **/ |
||
19 | public function setToken($token) |
||
23 | |||
24 | /** |
||
25 | * @return void |
||
26 | * @param String $email |
||
27 | **/ |
||
28 | public function setEmail($email) |
||
32 | |||
33 | /** |
||
34 | * @return String $token |
||
35 | **/ |
||
36 | public function getToken() |
||
40 | |||
41 | /** |
||
42 | * @return String $email |
||
43 | **/ |
||
44 | public function getEmail() |
||
48 | |||
49 | /** |
||
50 | * @return void |
||
51 | * @param Array $produtos |
||
52 | **/ |
||
53 | public function setProdutos($produto) |
||
57 | |||
58 | /** |
||
59 | * @return Array $produto |
||
60 | **/ |
||
61 | public function getProdutos() |
||
65 | |||
66 | public function adicionarProdutosGateway() |
||
70 | |||
71 | public function setEndereco($endereco) |
||
75 | |||
76 | public function getEndereco() |
||
80 | |||
81 | public function setEnderecoClienteGateway() |
||
85 | |||
86 | public function setReference($reference) |
||
90 | |||
91 | public function getReference() |
||
95 | |||
96 | public function setValorFrete($valor_frete) |
||
100 | |||
101 | public function getValorFrete() |
||
105 | |||
106 | public function setCliente($cliente) |
||
110 | |||
111 | public function getCliente() |
||
115 | |||
116 | public function setClienteGateway() |
||
120 | |||
121 | public function finalizarPedido() |
||
125 | |||
126 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..