Full type hint for CustomerResource vars

This commit is contained in:
Jérémy Munsch 2021-10-26 12:02:10 +02:00
parent fd80875410
commit c4de30ae7e
No known key found for this signature in database
GPG key ID: 55196BEE445F6049

View file

@ -9,13 +9,13 @@ use Illuminate\Http\Resources\Json\JsonResource;
class CustomerResource extends JsonResource
{
/** @var Customer */
/** @var \App\Models\Customer */
private $customer;
/** @var CustomerInfo */
/** @var \App\Models\CustomerInfo */
private $info;
/** @var CustomerLogin */
/** @var \App\Models\CustomerLogin */
private $login;
private static $skeleton = [