| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 91 | public function __construct($title, $data, $target_type, $target_id, $action, $author_id, $project_id) |
||
| 92 | { |
||
| 93 | $this->title = $title; |
||
| 94 | $this->data = $data; |
||
| 95 | $this->target_type = $target_type; |
||
| 96 | $this->target_id = $target_id; |
||
| 97 | $this->action = $action; |
||
| 98 | $this->author_id = $author_id; |
||
| 99 | $this->project_id = $project_id; |
||
| 100 | } |
||
| 101 | } |
||
| 102 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.