Skip to content

Merge remote-tracking branch 'origin/main' #4

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #4

Triggered via push December 3, 2023 21:53
Status Failure
Total duration 36s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Http/Controllers/ChatGroupController.php#L261
PHPDoc tag @return with type Fintech\Chat\Http\Resources\ChatGroupCollection|Illuminate\Http\JsonResponse is not subtype of native type Illuminate\Http\JsonResponse.
phpstan: src/Http/Controllers/ChatGroupController.php#L268
Method Fintech\Chat\Http\Controllers\ChatGroupController::import() should return Illuminate\Http\JsonResponse but returns Fintech\Chat\Http\Resources\ChatGroupCollection.
phpstan: src/Http/Controllers/ChatMessageController.php#L261
PHPDoc tag @return with type Fintech\Chat\Http\Resources\ChatMessageCollection|Illuminate\Http\JsonResponse is not subtype of native type Illuminate\Http\JsonResponse.
phpstan: src/Http/Controllers/ChatMessageController.php#L268
Method Fintech\Chat\Http\Controllers\ChatMessageController::import() should return Illuminate\Http\JsonResponse but returns Fintech\Chat\Http\Resources\ChatMessageCollection.
phpstan: src/Http/Controllers/ChatParticipantController.php#L261
PHPDoc tag @return with type Fintech\Chat\Http\Resources\ChatParticipantCollection|Illuminate\Http\JsonResponse is not subtype of native type Illuminate\Http\JsonResponse.
phpstan: src/Http/Controllers/ChatParticipantController.php#L268
Method Fintech\Chat\Http\Controllers\ChatParticipantController::import() should return Illuminate\Http\JsonResponse but returns Fintech\Chat\Http\Resources\ChatParticipantCollection.
phpstan: src/Http/Resources/ChatGroupResource.php#L15
PHPDoc tag @param has invalid value (\Illuminate\Http\Request): Unexpected token "\n * ", expected variable at offset 95
phpstan: src/Http/Resources/ChatMessageResource.php#L15
PHPDoc tag @param has invalid value (\Illuminate\Http\Request): Unexpected token "\n * ", expected variable at offset 95
phpstan: src/Http/Resources/ChatParticipantResource.php#L15
PHPDoc tag @param has invalid value (\Illuminate\Http\Request): Unexpected token "\n * ", expected variable at offset 95
phpstan: src/Interfaces/ChatGroupRepository.php#L28
Method Fintech\Chat\Interfaces\ChatGroupRepository::create() has invalid return type MongoDB\Laravel\Eloquent\Model.