Add phpdoc to TransformableData.php
#1154
Annotations
6 errors and 1 warning
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/CursorPaginatedDataCollection)#L55
Return type mixed of method Spatie\LaravelData\CursorPaginatedDataCollection::toArray() is not covariant with return type array of method Spatie\LaravelData\Contracts\TransformableData::toArray().
|
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/Data)#L55
Return type mixed of method Spatie\LaravelData\Data::toArray() is not covariant with return type array of method Spatie\LaravelData\Contracts\TransformableData::toArray().
|
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/DataCollection)#L55
Return type mixed of method Spatie\LaravelData\DataCollection::toArray() is not covariant with return type array of method Spatie\LaravelData\Contracts\TransformableData::toArray().
|
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/PaginatedDataCollection)#L55
Return type mixed of method Spatie\LaravelData\PaginatedDataCollection::toArray() is not covariant with return type array of method Spatie\LaravelData\Contracts\TransformableData::toArray().
|
phpstan:
src/Concerns/TransformableData.php (in context of class Spatie/LaravelData/Resource)#L55
Return type mixed of method Spatie\LaravelData\Resource::toArray() is not covariant with return type array of method Spatie\LaravelData\Contracts\TransformableData::toArray().
|
phpstan
Process completed with exit code 1.
|
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|