Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/book/v5/tutorials/create-book-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ declare(strict_types=1);

namespace Api\Book\Handler;

use Api\App\Handler\HandlerTrait;
use Api\App\Handler\AbstractHandler;
use Api\Book\InputFilter\BookInputFilter;
use Api\Book\Service\BookServiceInterface;
use Fig\Http\Message\StatusCodeInterface;
Expand All @@ -533,10 +533,8 @@ use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Dot\DependencyInjection\Attribute\Inject;

class BookHandler implements RequestHandlerInterface
class BookHandler extends AbstractHandler implements RequestHandlerInterface
{
use HandlerTrait;

#[Inject(
HalResponseFactory::class,
ResourceGenerator::class,
Expand Down