Conditions | 6 |
Paths | 5 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function execute() |
||
32 | { |
||
33 | if (!$this->token->account || !$this->token->account->status) { |
||
34 | dd($this->token); |
||
35 | return false; |
||
36 | } |
||
37 | Log::channel('sitec-finder')->info('Tratando Token .. '.print_r($this->token, true)); |
||
38 | |||
39 | if ($this->token->account->integration_id == Sentry::getCodeForPrimaryKey()) { |
||
40 | // (new \Integrations\Connectors\Sentry\Import($this->token))->bundle(); |
||
41 | } else if ($this->token->account->integration_id == Jira::getCodeForPrimaryKey()) { |
||
42 | // (new \Integrations\Connectors\Jira\Import($this->token))->bundle(); |
||
43 | } else if ($this->token->account->integration_id == Gitlab::getCodeForPrimaryKey()) { |
||
44 | (new \Integrations\Connectors\Gitlab\Import($this->token))->bundle(); |
||
45 | } |
||
46 | |||
47 | return true; |
||
48 | } |
||
49 | } |
||
50 |
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..