| 1 | <?php namespace JobApis\JobsToMail\Jobs\Users; |
||
| 7 | class PremiumUserSignup |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var User $admin |
||
| 11 | */ |
||
| 12 | public $admin; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string $data |
||
| 16 | */ |
||
| 17 | public $data; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new job instance. |
||
| 21 | */ |
||
| 22 | 1 | public function __construct($data = []) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Send an email to the admin about this new user signup |
||
| 32 | * |
||
| 33 | * @return FlashMessage |
||
| 34 | */ |
||
| 35 | 1 | public function handle() |
|
| 44 | } |
||
| 45 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..