fix: update category model #115
Annotations
10 errors and 1 warning
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#L20
Access to an undefined property CSlant\Blog\Core\Models\User::$id.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L21
Access to an undefined property CSlant\Blog\Core\Models\User::$first_name.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L22
Access to an undefined property CSlant\Blog\Core\Models\User::$last_name.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L23
Access to an undefined property CSlant\Blog\Core\Models\User::$avatar_url.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading