Data v4 #599
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
phpstan:
src/Concerns/BaseData.php (in context of class Spatie/LaravelData/Dto)#L45
Method Spatie\LaravelData\Dto::from() should return static(Spatie\LaravelData\Dto) but returns Spatie\LaravelData\Contracts\BaseData.
|
phpstan:
src/Concerns/BaseData.php (in context of class Spatie/LaravelData/Dto)#L53
Method Spatie\LaravelData\Dto::withoutMagicalCreationFrom() should return static(Spatie\LaravelData\Dto) but returns Spatie\LaravelData\Contracts\BaseData.
|
phpstan:
src/Concerns/BaseData.php (in context of class Spatie/LaravelData/Resource)#L45
Method Spatie\LaravelData\Resource::from() should return static(Spatie\LaravelData\Resource) but returns Spatie\LaravelData\Contracts\BaseData.
|
phpstan:
src/Concerns/BaseData.php (in context of class Spatie/LaravelData/Resource)#L53
Method Spatie\LaravelData\Resource::withoutMagicalCreationFrom() should return static(Spatie\LaravelData\Resource) but returns Spatie\LaravelData\Contracts\BaseData.
|
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/Data)#L30
Instanceof between *NEVER* and Spatie\LaravelData\Contracts\BaseDataCollectable will always evaluate to false.
|
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/Resource)#L30
Instanceof between *NEVER* and Spatie\LaravelData\Contracts\BaseDataCollectable will always evaluate to false.
|
phpstan:
src/Concerns/ValidateableData.php (in context of class Spatie/LaravelData/Dto)#L27
Parameter #1 $dataClass of method Spatie\LaravelData\Resolvers\DataValidatorResolver::execute() expects class-string<Spatie\LaravelData\Contracts\DataObject>, class-string<static(Spatie\LaravelData\Dto)> given.
|
phpstan:
src/Resolvers/PartialsTreeFromRequestResolver.php#L30
Match arm is unreachable because previous comparison is always true.
|
phpstan:
src/Support/Factories/DataTypeFactory.php#L38
Match expression does not handle remaining values: (class-string<ReflectionParameter>&literal-string)|(class-string<ReflectionProperty>&literal-string)
|
phpstan:
src/Support/Factories/DataTypeFactory.php#L121
Match expression does not handle remaining values: (class-string<ReflectionIntersectionType>&literal-string)|(class-string<ReflectionUnionType>&literal-string)
|