Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | */ |
||
20 | View Code Duplication | public function findDraft($user) |
|
21 | { |
||
22 | if ($user instanceof UserInterface) { |
||
23 | $user = $user->getId(); |
||
24 | } |
||
25 | |||
40 |
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.