We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
5 | trait Reorder |
||
6 | { |
||
7 | /** |
||
8 | * Reorder the items in the database using the Nested Set pattern. |
||
9 | * |
||
10 | * Database columns needed: id, parent_id, lft, rgt, depth, name/title |
||
11 | * |
||
12 | * @return Response |
||
|
|||
13 | */ |
||
14 | public function reorder() |
||
30 | |||
31 | /** |
||
32 | * Save the new order, using the Nested Set pattern. |
||
33 | * |
||
34 | * Database columns needed: id, parent_id, lft, rgt, depth, name/title |
||
35 | * |
||
36 | * @return |
||
37 | */ |
||
38 | public function saveReorder() |
||
52 | } |
||
53 |
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.