1 | <?php |
||
18 | class CallWebhookJob implements ShouldQueue |
||
19 | { |
||
20 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
21 | |||
22 | /** @var string */ |
||
23 | public $webhookUrl; |
||
24 | |||
25 | /** @var string */ |
||
26 | public $httpVerb; |
||
27 | |||
28 | /** @var int */ |
||
29 | public $tries; |
||
30 | |||
31 | /** @var int */ |
||
32 | public $requestTimeout; |
||
33 | |||
34 | /** @var string */ |
||
35 | public $backoffStrategyClass; |
||
36 | |||
37 | /** @var string */ |
||
38 | public $signerClass; |
||
39 | |||
40 | /** @var array */ |
||
41 | public $headers = []; |
||
42 | |||
43 | /** @var bool */ |
||
44 | public $verifySsl; |
||
45 | |||
46 | /** @var string */ |
||
47 | public $queue; |
||
48 | |||
49 | /** @var array */ |
||
50 | public $payload = []; |
||
51 | |||
52 | /** @var array */ |
||
53 | public $meta = []; |
||
54 | |||
55 | /** @var array */ |
||
56 | public $tags = []; |
||
57 | |||
58 | /** @var \GuzzleHttp\Psr7\Response|null */ |
||
59 | private $response; |
||
60 | |||
61 | /** @var string */ |
||
62 | private $errorType; |
||
63 | |||
64 | /** @var string */ |
||
65 | private $errorMessage; |
||
66 | |||
67 | |||
68 | public function handle() |
||
114 | |||
115 | public function tags() |
||
119 | |||
120 | public function getResponse() |
||
124 | |||
125 | private function dispatchEvent(string $eventClass) |
||
140 | } |
||
141 |
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..