adding listing & detail API on MYSQL #9
Annotations
10 errors and 1 warning
app/Http/Controllers/BookController.php#L22
Parameter #2 $default of method Illuminate\Http\Request::query() expects array|string|null, int given.
|
app/Http/Controllers/BookController.php#L26
Parameter #1 $perPage of method App\Services\BookService::getAllBooks() expects int, array|string|null given.
|
app/Http/Resources/BookResource.php#L18
Access to an undefined property App\Http\Resources\BookResource::$id.
|
app/Http/Resources/BookResource.php#L19
Access to an undefined property App\Http\Resources\BookResource::$book_number.
|
app/Http/Resources/BookResource.php#L20
Access to an undefined property App\Http\Resources\BookResource::$slug.
|
app/Http/Resources/BookResource.php#L21
Access to an undefined property App\Http\Resources\BookResource::$title.
|
app/Http/Resources/BookResource.php#L22
Access to an undefined property App\Http\Resources\BookResource::$author.
|
app/Http/Resources/BookResource.php#L23
Access to an undefined property App\Http\Resources\BookResource::$description.
|
app/Http/Resources/BookResource.php#L24
Access to an undefined property App\Http\Resources\BookResource::$created_at.
|
app/Http/Resources/BookResource.php#L25
Access to an undefined property App\Http\Resources\BookResource::$updated_at.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading