Nullable return type
This commit is contained in:
parent
74a1b4d753
commit
cc5a6db427
@ -33,7 +33,7 @@ class BidService extends Service
|
||||
*
|
||||
* @return \App\Models\Bid|\Illuminate\Database\Eloquent\Model|object|null
|
||||
*/
|
||||
public function getBid(User $user, $bid_id): Bid
|
||||
public function getBid(User $user, $bid_id): ?Bid
|
||||
{
|
||||
$with = [
|
||||
'flight',
|
||||
|
Loading…
Reference in New Issue
Block a user