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 Update |
||
6 | { |
||
7 | /* |
||
8 | |-------------------------------------------------------------------------- |
||
9 | | UPDATE |
||
10 | |-------------------------------------------------------------------------- |
||
11 | */ |
||
12 | |||
13 | /** |
||
14 | * Update a row in the database. |
||
15 | * |
||
16 | * @param [Int] The entity's id |
||
17 | * @param [Request] All inputs to be updated. |
||
18 | * |
||
19 | * @return [Eloquent Collection] |
||
|
|||
20 | */ |
||
21 | 2 | public function update($id, $data) |
|
37 | |||
38 | /** |
||
39 | * Get all fields needed for the EDIT ENTRY form. |
||
40 | * |
||
41 | * @param [integer] The id of the entry that is being edited. |
||
42 | * @param int $id |
||
43 | * |
||
44 | * @return [array] The fields with attributes, fake attributes and values. |
||
45 | */ |
||
46 | 14 | public function getUpdateFields($id) |
|
76 | } |
||
77 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.