fix: change role name for author data #113
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#L21
Method CSlant\Blog\Api\Http\Controllers\PostController::index() has invalid return type Botble\Base\Http\Responses\BaseHttpResponse.
|
Run PHPStan:
src/Http/Controllers/PostController.php#L23
Access to an undefined property CSlant\Blog\Api\Http\Controllers\PostController::$postRepository.
|
Run PHPStan:
src/Http/Controllers/PostController.php#L33
Call to an undefined method CSlant\Blog\Api\Http\Controllers\PostController::httpResponse().
|
Run PHPStan:
src/Http/Controllers/PostController.php#L35
Call to an undefined static method CSlant\Blog\Api\Http\Resources\ListPostResource::collection().
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L12
PHPDoc tag @mixin contains unknown class Botble\Blog\Models\Category.
|
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#L19
Access to an undefined property CSlant\Blog\Core\Models\User::$roles.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L22
Access to an undefined property CSlant\Blog\Core\Models\User::$id.
|
Run PHPStan:
src/Http/Resources/AuthorResource.php#L23
Access to an undefined property CSlant\Blog\Core\Models\User::$first_name.
|
Loading