Hi
I have noticed that if I paset some code, I get a warning that a class isn nit defined - which is mostly correct as I just pasted the code, but... right click dos not offer the option to import
Example:
$user = User::factory()->create([
'email' => 'user@example.com',
'password' => \Illuminate\Support\Facades\Hash::make('password'),
'user_level' => 90,
]);
would then indicate that the User class is not present, but right click does not offer a 'quick fix' so I have to 'delete' a port of the class and the retyp for the intellisense to kick in
or in this:
<?php
declare(strict_types=1);
// Route: /receiver-download-document/{encryptedData?}
test('/receiver-download-document/{encryptedData?} route responds successfully', function () {
$user = User::factory()->create([
'email' => 'user@example.com',
'password' => \Illuminate\Support\Facades\Hash::make('password'),
'user_level' => 90,
]);
$response = $this->get('/receiver-download-document/{encryptedData?}');
$response->assertStatus(200);
});
I cannot right click on the class to import