Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 11 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
38 | View Code Duplication | public function getRoutingKeyFromHeader() |
|
39 | { |
||
40 | $headers = $this->getHeaders(); |
||
41 | |||
42 | if(! array_key_exists('routing_key', $headers)) |
||
43 | { |
||
44 | return null; |
||
45 | } |
||
46 | |||
47 | return $headers['routing_key']; |
||
48 | } |
||
49 | } |
||
50 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.