1 | <?php |
||
17 | class TaskProjectMoveModel extends TaskDuplicationModel |
||
18 | { |
||
19 | /** |
||
20 | * Move a task to another project. |
||
21 | * |
||
22 | * @param int $task_id |
||
23 | * @param int $project_id |
||
24 | * @param int $swimlane_id |
||
25 | * @param int $column_id |
||
26 | * @param int $category_id |
||
27 | * @param int $owner_id |
||
28 | * |
||
29 | * @return bool |
||
30 | */ |
||
31 | public function moveToProject($task_id, $project_id, $swimlane_id = null, $column_id = null, $category_id = null, $owner_id = null) |
||
45 | |||
46 | /** |
||
47 | * Prepare new task values. |
||
48 | * |
||
49 | * @param int $project_id |
||
50 | * @param int $swimlane_id |
||
51 | * @param int $column_id |
||
52 | * @param int $category_id |
||
53 | * @param int $owner_id |
||
54 | * @param array $task |
||
55 | * |
||
56 | * @return array |
||
57 | */ |
||
58 | protected function prepare($project_id, $swimlane_id, $column_id, $category_id, $owner_id, array $task) |
||
72 | } |
||
73 |
Since your code implements the magic getter
_get
, this function will be called for any read access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.