Improve types for screen testing #124
Annotations
3 errors and 3 warnings
InvalidTemplateParam:
src/Attachment/Models/Attachment.php#L25
src/Attachment/Models/Attachment.php:25:7: InvalidTemplateParam: Extended template param TModel of Illuminate\Database\Eloquent\Collection<array-key, static> expects type Illuminate\Database\Eloquent\Model, type static given (see https://psalm.dev/183)
|
UndefinedInterfaceMethod:
src/Support/Testing/DynamicTestScreen.php#L208
src/Support/Testing/DynamicTestScreen.php:208:9: UndefinedInterfaceMethod: Method Illuminate\Contracts\Foundation\Application::offsetGet does not exist (see https://psalm.dev/181)
|
psalm
Process completed with exit code 2.
|
composer-validate
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phploc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|