| 1 | <?php |
||
| 16 | class OwnerWasAddedEvent implements OwnerEventInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The project owner that was added. |
||
| 20 | * |
||
| 21 | * @var \Gitamin\Models\Owner |
||
| 22 | */ |
||
| 23 | public $owner; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Create a new project owner was added event instance. |
||
| 27 | * |
||
| 28 | * @return void |
||
|
|
|||
| 29 | */ |
||
| 30 | public function __construct(Owner $owner) |
||
| 34 | } |
||
| 35 |
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.