| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 1 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 32 | public function getServices()  | 
            ||
| 33 |     { | 
            ||
| 34 | return [  | 
            ||
| 35 | 2 |             Client::class.$this->suffix => function (ContainerInterface $container) { | 
            |
| 36 | 2 | return new Client([  | 
            |
| 37 | 2 | 'host' => $container->get(Client::class.$this->suffix.'.host'),  | 
            |
| 38 | 2 | 'port' => $container->get(Client::class.$this->suffix.'.port')  | 
            |
| 39 | ]);  | 
            ||
| 40 | 2 | }  | 
            |
| 41 | ];  | 
            ||
| 42 | }  | 
            ||
| 43 | }  | 
            ||
| 44 | 
This check looks for
@paramannotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.