| Total Complexity | 6 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait HasHeaders |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Gets a single header from an existing email by name. |
||
| 12 | * |
||
| 13 | * @param $headerName |
||
| 14 | * |
||
| 15 | * @param string $regex if this is set, value will be evaluated with the give regular expression. |
||
| 16 | * |
||
| 17 | * @return null|string |
||
| 18 | */ |
||
| 19 | public function getHeader( $headerName, $regex = null ) |
||
| 42 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.