Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
75 | public function __construct($description, $noteable_type, $noteable_id, $author_id, $project_id) |
||
76 | { |
||
77 | $this->description = $description; |
||
78 | $this->noteable_type = $noteable_type; |
||
79 | $this->noteable_id = $noteable_id; |
||
80 | $this->author_id = $author_id; |
||
81 | $this->project_id = $project_id; |
||
82 | } |
||
83 | } |
||
84 |
Adding a
@return
annotation 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.