1 | <?php |
||
15 | class AdyenService |
||
16 | { |
||
17 | /** |
||
18 | * @var SettingsService |
||
19 | */ |
||
20 | protected $settingsService; |
||
21 | |||
22 | /** |
||
23 | * @var LoggerInterface |
||
24 | */ |
||
25 | protected $logger; |
||
26 | |||
27 | /** |
||
28 | * @var $merchantAccount |
||
29 | */ |
||
30 | private $merchantAccount; |
||
31 | |||
32 | /** |
||
33 | * @var $clientKey |
||
34 | */ |
||
35 | private $clientKey; |
||
36 | |||
37 | /** |
||
38 | * @var $paypalId |
||
39 | */ |
||
40 | private $paypalId; |
||
41 | |||
42 | /** |
||
43 | * @var Client |
||
44 | */ |
||
45 | protected $checkout; |
||
46 | |||
47 | /** |
||
48 | * AdyenService constructor. |
||
49 | * |
||
50 | * @param string $apiKey |
||
51 | * @param string $merchantAccount |
||
52 | * @param string $clientKey |
||
53 | * @param string $paypalId |
||
54 | * @param SettingsService $settingsService |
||
55 | * @throws AdyenException |
||
56 | */ |
||
57 | public function __construct( |
||
74 | |||
75 | /** |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getClientKey(): string |
||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | public function getPayPalId(): string |
||
90 | |||
91 | /** |
||
92 | * @return mixed |
||
93 | * @throws AdyenException |
||
94 | */ |
||
95 | public function getPaymentMethods() |
||
111 | |||
112 | /** |
||
113 | * @param $data |
||
114 | * @return mixed |
||
115 | * @throws AdyenException |
||
116 | */ |
||
117 | public function makePayment($data) |
||
128 | |||
129 | /** |
||
130 | * @param $data |
||
131 | * @return mixed |
||
132 | * @throws AdyenException |
||
133 | */ |
||
134 | public function paymentDetails($data) |
||
138 | } |
||
139 |
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..