Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function parseLine( Line$line ):parent |
||
22 | { |
||
23 | $content= '<code>'.htmlentities($line->fullContent).'</code>'; |
||
24 | |||
25 | $indentation= $this->document->indentation; |
||
26 | |||
27 | false!==$indentation and $content= str_repeat($indentation,$this->document->indentLevel).$content."\n"; |
||
28 | |||
29 | $this->content.= $content; |
||
30 | |||
31 | return $this; |
||
32 | } |
||
33 | } |
||
34 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.