Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
34 | 1 | public function handle(VarsCommand $command): PromiseInterface |
|
35 | { |
||
36 | 1 | return $this->service->handle( |
|
37 | 1 | 'settings/env_vars?repository_id=' . (string)$command->getRepositoryId(), |
|
38 | 1 | 'env_vars', |
|
39 | 1 | EnvironmentVariableInterface::HYDRATE_CLASS |
|
40 | ); |
||
41 | } |
||
42 | } |
||
43 |
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..