| 1 | <?php |
||
| 11 | class Confirmed |
||
| 12 | { |
||
| 13 | use SerializesModels; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * The authenticated user. |
||
| 17 | * |
||
| 18 | * @var \Illuminate\Contracts\Auth\Authenticatable |
||
| 19 | */ |
||
| 20 | public $user; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new event instance. |
||
| 24 | * |
||
| 25 | * @param \Illuminate\Contracts\Auth\Authenticatable $user |
||
| 26 | * @return void |
||
|
|
|||
| 27 | */ |
||
| 28 | public function __construct($user) |
||
| 32 | } |
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.