FlightRouteAwards - fix if last pirep is empty/other error conditions (#886)
This commit is contained in:
@@ -36,7 +36,10 @@ abstract class Award
|
||||
* You don't really need to mess with anything below here
|
||||
*/
|
||||
|
||||
/** @var \App\Models\Award|null */
|
||||
protected $award;
|
||||
|
||||
/** @var \App\Models\User|null */
|
||||
protected $user;
|
||||
|
||||
public function __construct(AwardModel $award = null, User $user = null)
|
||||
|
||||
@@ -36,6 +36,7 @@ use Laratrust\Traits\LaratrustUserTrait;
|
||||
* @property int state
|
||||
* @property bool opt_in
|
||||
* @property string last_pirep_id
|
||||
* @property Pirep last_pirep
|
||||
* @property UserFieldValue[] fields
|
||||
*
|
||||
* @mixin \Illuminate\Database\Eloquent\Builder
|
||||
|
||||
Reference in New Issue
Block a user