fix: update category model #115
Annotations
11 errors
|
Run PHPStan:
src/Enums/StatusEnum.php#L12
Class CSlant\Blog\Api\Enums\StatusEnum extends unknown class Botble\Base\Supports\Enum.
|
Run PHPStan:
src/Http/Controllers/PostController.php#L20
Method CSlant\Blog\Api\Http\Controllers\PostController::index() has invalid return type Botble\Base\Http\Responses\BaseHttpResponse.
|
Run PHPStan:
src/Http/Controllers/PostController.php#L22
Access to an undefined property CSlant\Blog\Api\Http\Controllers\PostController::$postRepository.
|
Run PHPStan:
src/Http/Controllers/PostController.php#L32
Call to an undefined method CSlant\Blog\Api\Http\Controllers\PostController::httpResponse().
|
Run PHPStan:
src/Http/Controllers/PostController.php#L34
Call to an undefined static method CSlant\Blog\Api\Http\Resources\ListPostResource::collection().
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L15
Method CSlant\Blog\Api\Http\Resources\AuthorResource::toArray() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L24
Cannot call method first() on array.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L24
Using nullsafe method call on non-nullable type array. Use -> instead.
|
Run PHPStan:
src/Http/Resources/CategoryResource.php#L18
Method CSlant\Blog\Api\Http\Resources\CategoryResource::toArray() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Http/Resources/ListPostResource.php#L13
Class CSlant\Blog\Api\Http\Resources\ListPostResource extends unknown class Botble\Blog\Http\Resources\ListPostResource.
|
Loading